The output from a server-side ToolCall execution.
ToolCall
This message contains the results of a tool invocation that was initiated by a ToolCall from the model. The client should pass this ToolResponse back to the API in a subsequent turn within a Content message, along with the corresponding ToolCall.
ToolResponse
Content
Optional
The identifier of the tool call this response is for.
The tool response.
The type of tool that was called, matching the tool_type in the corresponding ToolCall.
The output from a server-side
ToolCallexecution.This message contains the results of a tool invocation that was initiated by a
ToolCallfrom the model. The client should pass thisToolResponseback to the API in a subsequent turn within aContentmessage, along with the correspondingToolCall.