LangChain · Type Alias
ToolCall
ToolCall describes an AI request to call a tool. It includes the tool name, input arguments, and an optional request ID.
Last updated
- Since
- v1.7
Syntax
ToolCall: TypedDict with type Literal["tool_call"], id str | None, name str, args dict[str, Any], and optional index and extras.In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ToolMessageAIMessageContentBlockToolCallChunk