import type { ToolContext } from './deps.js'; /** A JSON-Schema tool definition, snapshot-tested in server.test.ts. */ export interface ToolSpec { name: string; description: string; inputSchema: Record; } /** MCP tool-call result shape (subset we produce). */ export interface ToolResult { content: { type: 'text'; text: string; }[]; structuredContent?: unknown; isError?: boolean; } export declare const TOOL_SPECS: ToolSpec[]; /** Dispatch a tool call. `args` is the raw MCP arguments object. */ export declare function callTool(ctx: ToolContext, name: string, args: Record, onProgress?: (fraction: number, message: string) => void): Promise;