Expand description
This library contains definitions of ToolDescriptions which is a datatype that
represents a Model Context Protocol (MCP) Tool Description. An MCP Tool description is a JSON
object that gives the name of the tool, an optional description of the tool, and a description of
the input and output parameters of the tool (and any type definitions usded to define these parameters).
This library also includes a parser that deserializes an MCP tool description JSON into a ToolDescription struct.
This library also includes a ServerDescription struct that represents a collection of MCP tool descriptions
(i.e., the output of list_tools from an MCP Server).
Modules§
- data
- The
datamodules defines data representations for the values in MCP tool inputs. - description
- This module defines representations for properties in MCP tools definitions.
- err
- This module contains definitions for errors that can occur when deserializing a MCP server’s tool descriptions.
- parser
- This is a custom parser for JSON.