Expand description
Types for the MCP tool-calling system.
This module defines the data structures for defining tools, their input/output schemas, and the requests and responses used to list and execute them, as specified by the MCP standard.
Structs§
- Call
Tool Request - A request to execute a specific tool.
- Call
Tool Result - The result of a
CallToolRequest. - List
Tools Request - A request to list the available tools on a server.
- List
Tools Result - The result of a
ListToolsRequest. - Tool
- Represents a tool that can be executed by an MCP server, as per the MCP 2025-06-18 specification.
- Tool
Annotations - Provides additional, optional metadata about a tool.
- Tool
Input Schema - Defines the structure of the arguments a tool accepts, as a JSON Schema object.
- Tool
Output Schema - Defines the structure of a tool’s successful output, as a JSON Schema object.