Expand description
Tool system for MCP servers
This module provides the abstraction for implementing and managing tools in MCP servers. Tools are functions that can be called by clients to perform specific operations.
Structs§
- Addition
Tool - Tool for adding two numbers
- Echo
Tool - Simple echo tool for testing
- Timestamp
Tool - Tool for getting current timestamp
- Tool
- A registered tool with its handler
- Tool
Builder - Builder for creating tools with fluent API
Traits§
- Tool
Handler - Trait for implementing tool handlers