runs
The runs.* tools of the Runbase MCP server, generated from their definitions.
runs.cancel
Cancels an unfinished run (status canceled): its steps stop and the record can start a run again. false if it is already finished.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Run id |
workspace | string | no | Workspace id or name (default: active workspace) |
runs.cancel_bulk
Cancels all unfinished runs of a workflow and/or a status (at least one filter). confirm: true required. Returns the number of cancelled runs.
| Name | Type | Required | Description |
|---|---|---|---|
workflowId | string | no | |
status | string | no | One of: running, waiting, paused_budget, paused. |
confirm | boolean | no | |
workspace | string | no | Workspace id or name (default: active workspace) |
runs.decide
Approves or rejects a paused run (human.approve): it resumes on the approved or rejected branch. not_found error (unknown run) or not_waiting (run or path not waiting, with the reason).
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Run id |
approved | boolean | yes | |
path | string | no | Waiting path to decide (default: the first) |
workspace | string | no | Workspace id or name (default: active workspace) |
runs.get
Reads a run and its steps: path taken (branch; path = parallel execution branch, "0", "1", "0.1"…), input, output (AI reasons included; loop: per-iteration details), function logs fn.* (logs), startedAt, attempts, duration, cost, error. paths gives the state of each path.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Run id |
workspace | string | no | Workspace id or name (default: active workspace) |
runs.list
Lists the workspace runs, most recent first, with their cost. Filters: status, workflow, record, period (from/to ISO). Returns { items, hasMore, nextCursor }: pass nextCursor back as cursor for the next page.
| Name | Type | Required | Description |
|---|---|---|---|
status | string | no | One of: running, waiting, succeeded, failed, paused_budget, paused, canceled. |
workflowId | string | no | |
recordId | string | no | |
from | string | no | |
to | string | no | |
cursor | string | no | |
limit | integer | no | Default 50 |
workspace | string | no | Workspace id or name (default: active workspace) |
runs.pause
Pauses a run (status paused): the current step finishes, the next ones wait for runs.resume. false if the run is not running.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Run id |
workspace | string | no | Workspace id or name (default: active workspace) |
runs.replay
Replays a run: new run of the same workflow version, same record and same input (event included). Returns the new run.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Run id |
workspace | string | no | Workspace id or name (default: active workspace) |
runs.resume
Resumes a run paused by runs.pause.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Run id |
workspace | string | no | Workspace id or name (default: active workspace) |
runs.retry_from
Retries a finished run (succeeded, failed or cancelled) from a step: that step and the rest of its path are cleared and re-run, earlier steps are kept. Refused if another run is active on the same record.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Run id |
stepId | string | yes | Id of the step to resume from |
workspace | string | no | Workspace id or name (default: active workspace) |
runs.start
Starts a run of a workflow's current version, on an optional record, with an optional event payload (event, read by {{event.…}} as if the event had triggered the run). Refused if a run of the same workflow is already active on that record. test: true: test run, deleted by workspace.purge_test.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Workflow id |
recordId | string | no | |
event | any | no | |
test | boolean | no | Test data: deleted by workspace.purge_test |
workspace | string | no | Workspace id or name (default: active workspace) |
runs.waiting
Lists runs paused on a human.approve block, waiting for a decision.
| Name | Type | Required | Description |
|---|---|---|---|
workspace | string | no | Workspace id or name (default: active workspace) |