Sign in to run requests with your own sandbox key. Sign in

MCP tool

cascades_get_workflow

read workflows:read

Fetch one cascade by id, including its full node graph (`definition`). Use this to read a cascade before updating it with cascades_update_workflow, or to inspect how it is built. Only cascades owned by the API key's account are returned (a foreign or deleted id 404s).

REST operation

This tool makes one call: GET /api/v1/workflows/{id} — see getWorkflow in the API reference for the full response schema and error codes.

Input schema

ArgumentTypeDescription
workflow_id required integer Workflow id. Only workflows owned by the token's account resolve; a foreign or deleted id returns `404`.
environment string Target environment: "prod" (default) or "dev".
One of: dev prod

Example

What the model sends, and the JSON the tool returns (the REST response, verbatim).

Call
{
  "name": "cascades_get_workflow",
  "arguments": {
    "workflow_id": 157
  }
}
Result
{
  "data": {
    "id": 157,
    "object": "workflow",
    "name": "Tenant screening — standard",
    "active": true,
    "definition": [
      {
        "id": "credit",
        "type": "BillingProduct",
        "billing_product_code": "TUC1001"
      }
    ]
  }
}

Other tools