Skip to content

ToolCall

Represents a call to an external tool or function within a message.

Properties

Property Type Description
arguments? InlineOrExternalValue<JSONObject> Legacy field for tool call input arguments.
createdTime string Timestamp indicating when the tool call was created.
id string Unique identifier for the tool call.
input? JSONObject Optional input value provided to the tool.
name string The name of the tool being called.
result? ToolCallResult Optional output value returned by the tool's execution.
timestamp? string Timestamp indicating when the tool call was initiated.
toolCallId string Unique identifier for the tool call within the message.
updatedTime string Timestamp indicating when the tool call was last updated.