Skip to content

ModelToolCall

A single tool call from the model response.

args: Record<string, unknown>

Arguments for the tool call.


toolCallId: string

Unique ID for this tool call (used to match with tool result).


toolName: string

Name of the tool the model wants to call.