Skip to content
masterclass Buddy

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.

Subscribe
  • BaseTool
  • Runnable
  • RunnableConfig
  • ToolMessage
  • streamEvents
  • withRetry

Source: StructuredTool | langchain_core | LangChain Reference. Checked 2026-11-03.