Skip to main content

MCPCall

Defined in the MCP module.
Rust AI Agent SDK An MCP tool call request.

Fields

NameTypeDescription
nameStringTool name
argumentsserde_json::ValueTool arguments
idStringCall ID

Methods

new

fn new(name: impl Into<String>, arguments: serde_json::Value) -> Self
Create a new MCP call Parameters:
NameType
nameimpl Into&lt;String&gt;
argumentsserde_json::Value

Source

View on GitHub

praisonai/src/mcp/mod.rs at line 295