MCP Tools
Plans & Playbooks

run_playbook_step_workflow

Run a playbook workflow step's attached workflow once now. Completes the step automatically when the run succeeds.

Parameters

NameTypeRequiredDefaultDescription
team_idintegerYes—Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions.
plan_uuidstring (uuid)Yes—Workflow step plan_uuid from get_playbook_cycle.

Input Schema

{
  "type": "object",
  "required": [
    "team_id",
    "plan_uuid"
  ],
  "properties": {
    "team_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions."
    },
    "plan_uuid": {
      "type": "string",
      "format": "uuid",
      "description": "Workflow step plan_uuid from get_playbook_cycle."
    }
  }
}

Output Schema

{
  "type": "object",
  "required": [
    "plan_uuid",
    "status",
    "completed",
    "link_url"
  ],
  "properties": {
    "run": {
      "type": [
        "object",
        "null"
      ]
    },
    "mode": {
      "type": [
        "string",
        "null"
      ]
    },
    "team": {
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      },
      "description": "Team this action applied to."
    },
    "inputs": {
      "type": "array"
    },
    "status": {
      "enum": [
        "idle",
        "running",
        "failed",
        "done",
        "unavailable"
      ],
      "type": "string"
    },
    "can_run": {
      "type": "boolean"
    },
    "link_url": {
      "type": "string"
    },
    "workflow": {
      "type": [
        "object",
        "null"
      ]
    },
    "completed": {
      "type": "boolean"
    },
    "plan_uuid": {
      "type": "string",
      "format": "uuid"
    },
    "read_only": {
      "type": "boolean"
    },
    "runs_as_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "blocked_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "runs_as_user_id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "can_choose_another": {
      "type": "boolean"
    },
    "unavailable_reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}

Instructions

Runs a playbook workflow step's workflow once immediately (plan_uuid from get_playbook_cycle, owner-only; same as clicking Run now in Marcora). Running a step runs its workflow once and never edits or enables the workflow's own schedule. Executes under the step owner (custom) or team-setup execution user (team_setup). Completes the step automatically when the workflow run succeeds (workflow steps cannot be completed manually). Fails 409 if the workflow is already running, was archived, made inactive, or is unavailable, or has missing/waiting/private inputs. Present link_url and run.link_url as returned.

Output: the same state as get_playbook_step_workflow (status, workflow, inputs, can_run, blocked_reason, can_choose_another, run, link_url) plus completed (true when the step finished with this call) and team.

When to use

Use when the step owner wants to execute a kind: "workflow" playbook cycle step now (plan_uuid). Never alters the workflow's own schedule.