European Parliament MCP Server API - v1.2.6
    Preparing search index...

    Function dispatchToolCall

    • Dispatches a tool call to the registered handler.

      Feed tool calls are automatically tracked by the feedHealthTracker so that the get_server_health tool can report per-feed availability without making upstream API calls.

      Parameters

      • name: string

        Tool name from the MCP CallTool request

      • args: unknown

        Validated tool arguments

      Returns Promise<ToolResult>

      Tool execution result

      If the tool name is not recognized