/** * MCP Tool Definitions * * Static array of tool definitions with JSON Schema input schemas * and handler functions. Each handler receives (args, caller) and * returns MCP tool content. * * The kbId is implicit — it comes from the caller (extracted from the URL * path /mcp/), so tools don't need it as an input parameter. */ import type { ValidatedCaller } from '../oauth/validate.ts'; export interface ToolContent { content: Array<{ type: 'text'; text: string; }>; isError?: true; } export interface ToolDefinition { name: string; description: string; inputSchema: Record; handler: (args: Record, caller: ValidatedCaller) => Promise; } export declare const tools: ToolDefinition[]; //# sourceMappingURL=tools.d.ts.map