ToolCallContent
Tool/function call request from the LLM.Fields
str
required
Must be
"tool-call".int
required
Zero-based index of the tool call. Minimum: 0.
str
required
Unique identifier for this tool call.
str
required
Name of the function to call.
str
required
JSON-encoded string of function arguments.
str | None
Optional MCP server name. Aliased as
serverName in JSON.Example
Related
- ToolResponseContent — the corresponding tool response
- MessageContent — union wrapper for all content types
- PromptMessage — chat message containing content arrays