Stop a run
stop_runStops a run, as the Stop button does. It goes to the history with everything it collected, and the person can reopen it on the phone.
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": "<run>"
},
"name": "stop_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | The run's id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | The run it started, planned or found, where there is one: what set_value, next_step and the rest take. | |
| url | No | For publish_routine, once the person has published it: routinerun.com/c/<code>, the address to share. | |
| code | No | For publish_routine, once published: the eight-character code, which publish_routine takes again to replace it. | |
| status | Yes | What the phone did with it, in one word; the sentence beside it says what that means. | |
| command | Yes | The command's id, which command_status takes. |