Type Alias MCPToolDefinition
type MCPToolDefinition = {
annotations?: MCPToolAnnotations;
description?: string;
inputSchema: Record<string, unknown> & { type: "object" };
name: string;
outputSchema?: Record<string, unknown> & { type: "object" };
title?: string;
}
annotations?: MCPToolAnnotations;
description?: string;
inputSchema: Record<string, unknown> & { type: "object" };
name: string;
outputSchema?: Record<string, unknown> & { type: "object" };
title?: string;
}
Index
Properties
Properties
Optionalannotations
Optionaldescription
description?: string
input Schema
inputSchema: Record<string, unknown> & { type: "object" }
JSON Schema of the tool's arguments
name
name: string
Optionaloutput Schema
outputSchema?: Record<string, unknown> & { type: "object" }
JSON Schema of the tool's structuredContent
Optionaltitle
title?: string
A tool as listed by an MCP server's tools/list