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§
- Call
Tool Request - Request to call a tool with specific arguments.
- Call
Tool Response - Response from a tool call operation.
- List
Tools Request - Request to list available tools from the server.
- List
Tools Response - Response containing the list of available tools.
- Resource
Reference - Reference to a resource.
- Tool
- Tool definition including schema and metadata.
- Tool
List Changed Notification - Notification that the list of tools has changed.
Enums§
- Tool
Result - Result content from a tool execution.