/** * discover_tools - Meta-tool for finding MCP tools * * This is one of the 2 tools exposed by the router (the other being execute_tool). * Instead of loading 150+ tool definitions, the LLM uses this to find relevant tools. */ import type { DiscoverToolsArgs, ToolSearchResult } from '../types.js'; import type { ToolSearchIndex } from '../search/fuzzy.js'; export declare const DISCOVER_TOOLS_DEFINITION: { name: string; description: string; inputSchema: { type: "object"; properties: { query: { type: string; description: string; }; limit: { type: string; description: string; default: number; }; server: { type: string; description: string; }; }; required: string[]; }; }; export declare function handleDiscoverTools(args: DiscoverToolsArgs, searchIndex: ToolSearchIndex): { tools: ToolSearchResult[]; hint: string; }; export declare function estimateDiscoverToolsTokens(): number; //# sourceMappingURL=discover.d.ts.map