MCP Call • Rust AI Agent SDK

MCPCall: An MCP tool call request.

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

rust
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


Related Documentation