/** * Advanced proxy — godot_advanced_tool + godot_list_dynamic_routes (Phase 3) * * Proxy tool that allows calling deactivated/advanced tools in slim mode, * and dynamic routing for tools that exist on the Godot side but aren't * registered on the MCP side. * * Belongs to the 'dynamic' group. Provides fuzzy matching suggestions for * invalid tool names, and structured dynamic routing for unknown godot_ tools. */ import type { Tool } from "@modelcontextprotocol/server"; import type { ToolContext, ToolResult } from '../types.js'; import { type ToolCallDelegate } from '../types.js'; export declare function setToolCallDelegate(fn: ToolCallDelegate | null): void; /** Inject HTTP sender for dynamic routing. Called by GodotServer during init. */ export declare function setDynamicSender(fn: ((route: string, args: Record) => Promise) | null): void; export declare function getToolDefinitions(): Tool[]; export declare function handleTool(toolName: string, args: Record, _ctx: ToolContext): Promise; export declare const TOOL_META: { godot_advanced_tool: { readonly: boolean; long_running: boolean; }; godot_list_dynamic_routes: { readonly: boolean; long_running: boolean; }; };