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

    Function dispatchToolCall

    • Dispatches a tool call to the registered handler.

      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