ToolCallContent
Tool/function call request from the LLM.Fields
Must be
"tool-call".Zero-based index of the tool call. Minimum: 0.
Unique identifier for this tool call.
Name of the function to call.
JSON-encoded string of function arguments.
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