Information for tracking structured output tool metadata.
This contains all necessary information to handle structured responses generated via tool calls, including the original schema, its type classification, and the corresponding tool implementation used by the tools strategy.
OutputToolBinding(
self,
schema: type[SchemaT] | dict[str, Any],
schema_kind: SchemaKind,
tool: BaseTool
)The original schema provided for structured output (Pydantic model, dataclass, TypedDict, or JSON schema dict).
Classification of the schema type for proper response construction.
LangChain tool instance created from the schema for model binding.