pub type ToolUseData = ToolUse;Expand description
The tool-use descriptor on tool-call events (ToolUseData): the shape of the model’s tool use.
Aliased Type§
pub struct ToolUseData {
pub name: String,
pub tool_use_id: String,
pub input: Value,
}Fields§
§name: StringThe name of the tool to execute.
tool_use_id: StringIdentifier that matches the result back to this request.
input: ValueThe tool input.