ToolUseBlock

An assistant request to invoke a tool.

Usage

Source

ToolUseBlock(
    id,
    name,
    input,
)

Parameter Attributes

id: ToolUseId
name: str
input: Mapping[str, Any]

Attributes

id: ToolUseId

The tool-use identifier referenced by the matching result.

name: str

The tool’s name.

input: Mapping[str, Any]
The tool’s input arguments, preserved verbatim.