Skip to main content

ToolCallContent

Tool/function call request from an LLM with arguments and metadata.

Import

Type Definition

Fields

string
required
Must be "tool-call".
number
required
Zero-based index of the tool call. Minimum: 0.
string
required
Unique identifier for this tool call.
string
required
Name of the function to call.
string
required
JSON-encoded string of function arguments.
string | null
Optional MCP server name associated with this tool call.

Example

JSON: