ToolUseBlockData
Defined in: src/types/messages.ts:139
Data for a tool use block.
Properties
Section titled “Properties”name: string;Defined in: src/types/messages.ts:143
The name of the tool to execute.
toolUseId
Section titled “toolUseId”toolUseId: string;Defined in: src/types/messages.ts:148
Unique identifier for this tool use instance.
input: JSONValue;Defined in: src/types/messages.ts:154
The input parameters for the tool. This can be any JSON-serializable value.
reasoningSignature?
Section titled “reasoningSignature?”optional reasoningSignature: string;Defined in: src/types/messages.ts:160
Reasoning signature from thinking models (e.g., Gemini). Must be preserved and sent back to the model for multi-turn tool use.