Skip to main content

Installation

Initialization

Tools

listTools

List all available tools with pagination.
Parameters:
  • page - Page number (default: 1)
  • limit - Items per page (default: 50)
Returns: List of Tool objects with pagination metadata

getTool

Get detailed information about a specific tool.
Parameters:
  • toolId - Unique tool identifier
Returns: Tool object with full configuration

runTool

Execute a tool with inputs and options.
Parameters:
  • toolId - Tool to execute
  • runRequest - Execution configuration:
    • inputs - Input data accessible in tool steps
    • options - Execution options:
      • async - If true, return 202 immediately and execute asynchronously
      • timeout - Request timeout in seconds (sync only)
      • webhookUrl - URL to POST results when complete
      • traceId - Custom trace ID for log tracking
      • mode - Execution mode: "prod" (default) or "dev" for sandbox credentials
    • credentials - Runtime credentials to override defaults
Returns: Run object with execution status and results Status Codes:
  • 200 - Tool executed synchronously (completed)
  • 202 - Tool executing asynchronously (in progress)
  • 400 - Invalid request
  • 409 - Concurrent execution limit reached
  • 410 - Tool deleted
  • 429 - Rate limit exceeded

Runs

getRun

Get the status and results of a tool execution.
Parameters:
  • runId - Unique run identifier
Returns: Run object with status, results, and metadata Run Statuses:
  • running - Execution in progress
  • success - Completed successfully
  • failed - Failed due to error
  • aborted - Cancelled by user or system

cancelRun

Cancel a running tool execution.
Parameters:
  • runId - Run to cancel
Returns: Updated Run object with aborted status

listRuns

List tool execution runs with filtering and pagination.
Parameters:
  • page - Page number (default: 1)
  • limit - Items per page (default: 50)
  • toolId - Filter by tool ID (optional)
  • status - Filter by status: running, success, failed, aborted (optional)
Returns: List of Run objects with pagination metadata