ToolUse
Defined in: src/tools/types.ts:36
Represents a tool usage request from the model. The model generates this when it wants to use a tool.
Properties
Section titled “Properties”name: string;Defined in: src/tools/types.ts:40
The name of the tool to execute.
toolUseId
Section titled “toolUseId”toolUseId: string;Defined in: src/tools/types.ts:46
Unique identifier for this tool use instance. Used to match tool results back to their requests.
input: JSONValue;Defined in: src/tools/types.ts:52
The input parameters for the tool. Must be JSON-serializable.