import type { DocsBackend } from "./backend-sqlite.js"; export declare const toolDefinitions: ({ name: string; description: string; inputSchema: { type: string; properties: { query: { type: string; description: string; }; limit: { type: string; description: string; }; slug?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { slug: { type: string; description: string; }; query?: undefined; limit?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { query?: undefined; limit?: undefined; slug?: undefined; }; required?: undefined; }; })[]; /** Thrown for tool-execution failures (e.g. page not found, unknown tool). * These are surfaced to the model as isError:true rather than JSON-RPC errors. */ export declare class ToolError extends Error { constructor(message: string); } export declare function callTool(backend: DocsBackend, name: string, args: Record): string; //# sourceMappingURL=tools.d.ts.map