LangChain · Class
StructuredTool
StructuredTool wraps a callable as a tool with structured, schema-checked input. Use it when an agent or runnable must call a function with named arguments.
Last updated
- Since
- v1.7
Syntax
StructuredTool(self, kwargs: Any = {})In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
BaseToolRunnableRunnableConfigToolMessagestreamEventswithRetry