/** * @name tools/sap-tool-search * @description Tool search retriever for the 420+ SAP MCP tool catalog. * * Implements a lightweight BM25 search over tool names and descriptions, * returning top-K results with full input schemas so the agent can call * them via a dispatcher tool (sap_call_tool or similar). * * This dramatically reduces context usage: instead of binding 420+ tool * definitions (~170k tokens), the agent binds ~15 permanent tools + this * search tool, and discovers the rest on demand (~5k tokens per turn). * * @module tools/sap-tool-search */ import type { Server } from '@modelcontextprotocol/sdk/server/index.js'; import type { SapMcpContext } from '../../core/src/types.js'; /** * Register the sap_search_tools retriever tool. */ export declare function registerToolSearchTool(server: Server, context: SapMcpContext): void; //# sourceMappingURL=sap-tool-search.d.ts.map