@apideck/docs-mcp
Version:
MCP server that lets agents search and retrieve your documentation at query time instead of relying on stale training data.
11 lines • 597 B
TypeScript
import type { DocStore } from './store.js';
import type { AnyToolDefinition, ToolResult } from './types.js';
export declare const READ_ONLY: {
readonly readOnlyHint: true;
readonly idempotentHint: true;
readonly openWorldHint: false;
};
/** Build a tool result: text for the model plus optional structured content, for reuse by host-defined tools. */
export declare const toolResult: (body: string, structured?: Record<string, unknown>, isError?: boolean) => ToolResult;
export declare const createDocTools: (store: DocStore) => AnyToolDefinition[];
//# sourceMappingURL=tools.d.ts.map