cancel_run
Cancel a run between hops — in-flight hops finish, queued hops no-op. Requires editor access on the run's graph; a run already in a terminal status errors.
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": {
"runId": "<runId>"
},
"name": "cancel_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | The run id | |
| reason | No | Optional reason recorded on the cancellation |