Cancel a workflow run
cancel_workflow_runCancel a workflow run between steps via RelayGPU MCP to stop remaining steps; a running step finishes and bills, and ended runs return WORKFLOW_RUN_NOT_CANCELLABLE. Requires a Relay credential.
Instructions
Cancel a workflow run. Cancels between steps only: a step already running completes and bills. A run that has already ended answers WORKFLOW_RUN_NOT_CANCELLABLE. Needs a Relay credential.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"run_id": "<run_id>"
},
"name": "cancel_workflow_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run id returned by run_workflow (`wf:…`). |