tools • Rust AI Agent SDK

tools: Get registered tools

tools

Method

</div>

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

Get registered tools

Diagram

uses

returns

Agent

Tool: tools

Result

Signature

python
def tools(&self) -> &[MCPTool]

Returns

ResponseField &[MCPTool]

The result of the operation.


Related Documentation