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
| Name | Type | Description |
|---|---|---|
name | String | Tool name |
arguments | serde_json::Value | Tool arguments |
id | String | Call ID |
Methods
new
fn new(name: impl Into<String>, arguments: serde_json::Value) -> SelfCreate a new MCP call
Parameters:
| Name | Type |
|---|---|
name | impl Into<String> |
arguments | serde_json::Value |
Source
View on GitHubpraisonai/src/mcp/mod.rs at line 295