Tool Call • Rust AI Agent SDK

ToolCall: A tool call from the LLM.

ToolCall

Defined in the protocols module.

Rust AI Agent SDK

A tool call from the LLM.

Diagram

uses

returns

Agent

Tool: ToolCall

Result

Fields

NameTypeDescription
idStringTool call ID
nameStringTool name
argumentsserde_json::ValueTool arguments

Source

View on GitHub

praisonai/src/protocols/mod.rs at line 210


Related Documentation