Interface: MCPToolDefinition
Defined in: mcp/types.ts:98
MCP tool definition from the server Based on MCP specification’s Tool type
Properties
description?
optional description?: string;
Defined in: mcp/types.ts:102
Human-readable description
inputSchema
inputSchema: {
[key: string]: unknown;
additionalProperties?: boolean;
properties?: Record<string, unknown>;
required?: string[];
type: "object";
};
Defined in: mcp/types.ts:104
JSON Schema for tool input
Index Signature
[key: string]: unknown
additionalProperties?
optional additionalProperties?: boolean;
properties?
optional properties?: Record<string, unknown>;
required?
optional required?: string[];
type
type: "object";
name
name: string;
Defined in: mcp/types.ts:100
Tool name (unique identifier)