Member Junction
    Preparing search index...

    Action to execute a tool on an MCP server.

    This action connects to an MCP server (if not already connected), calls the specified tool with provided arguments, and returns the result.

    await runAction({
    ActionName: 'Execute MCP Tool',
    Params: [
    { Name: 'ConnectionID', Value: 'connection-uuid' },
    { Name: 'ToolName', Value: 'search_documents' },
    { Name: 'Arguments', Value: { query: 'MJ documentation', maxResults: 10 } }
    ]
    });

    Parameters:

    • ConnectionID (required): UUID of the MCP Server Connection to use
    • ToolName (required): Name of the tool to execute
    • Arguments (optional): Object with tool input parameters
    • Timeout (optional): Request timeout in milliseconds (default: 60000)

    Result:

    • Success: Tool output in Message as JSON
    • Output params include: ToolOutput, DurationMs, IsToolError

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods