Optional
descriptionDescription of the tool.
Input schema of the tool.
The input schema, parameters of the tool.
As MCP (Model Context Protocol) does not restict the JSON schema
specification, @samchon/openapi
has defined it to be universal
structure OpenApiV3_1.IJsonSchema which can cover every
JSON schema specification.
Name of the tool.
MCP tool type.
IMcpTool
is an interface representing a tool type defined in the MCP (Model Context Protocol).Note that, don't be confused with IMcpLlmFunction type, that is used for McpLlm.application which converts this
IMcpTool
type to the IMcpLlmFunction type.Warning
Don't be confused with IMcpLlmFunction
Author
Jeongho Nam - https://github.com/samchon