Call Tool • Rust AI Agent SDK

call_tool: Call a tool (placeholder)

call_tool

Async

Method

</div>

This is a method of the MCP class in the mcp module.

Call a tool (placeholder)

Diagram

uses

returns

Agent

Tool: call_tool

Result

Signature

python
async def call_tool(&self, call: MCPCall) -> Result<MCPCallResult>

Parameters

ParamField MCPCall

No description available.

Returns

Rust Tools Rust Code Execution Rust Web Search