Expand description
Tool-related message types for MCP tool discovery and execution.
This module provides types for:
- Tool discovery (listing available tools)
- Tool execution (calling tools with parameters)
- Tool schema definitions (parameter validation)
- Tool result handling (success/error responses)
Structs§
- CallTool Request 
- Request to call a tool with specific arguments.
- CallTool Response 
- Response from a tool call operation.
- ListTools Request 
- Request to list available tools from the server.
- ListTools Response 
- Response containing the list of available tools.
- ResourceReference 
- Reference to a resource.
- Tool
- Tool definition including schema and metadata.
- ToolList Changed Notification 
- Notification that the list of tools has changed.
Enums§
- ToolResult 
- Result content from a tool execution.