Cancel Run
cancel_runCancel a running code execution in the MCE sandbox by providing its run ID. Stops further work; note that already completed external effects remain.
Instructions
Request cooperative cancellation; completed external effects cannot be undone.
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_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Caller-owned persistent run identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||