Move a run on
next_stepMarks the step a run is on as done and moves to the next. Give expectsStep (the step id you believe it is on) to make sure nothing else moved it first. It presses none of the step's buttons, not even one marked onNext: only the person's own Next does that.
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": "next_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | The run's id. | |
| expectsStep | No | The id of the step the run should be on. |
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. |