/** * Get Method Source Tool * Returns the full X++ source code of a method. * * PRIMARY: C# bridge (IMetadataProvider) — 100% reliable, always available on VM. * Then the object's XML off disk, then the body stored in the symbol index — * the last of which is the only one reachable from an Azure read-only * deployment, where there is neither a bridge nor a PackagesLocalDirectory. * SQLite "did you mean?" kept only on error path. */ import type { CallToolRequest } from '@modelcontextprotocol/sdk/types.js'; import type { XppServerContext } from '../../types/context.js'; export declare function getMethodSourceTool(request: CallToolRequest, context: XppServerContext): Promise; type MethodSourceResult = { content: Array<{ type: 'text'; text: string; }>; isError?: boolean; }; export {}; //# sourceMappingURL=getMethodSource.d.ts.map