Get a run
get_runOne run's steps in the order it is walking them, each done, in hand or ahead — and its notes and values, if the person has let this assistant read them. A run that has finished or been stopped is read too, with ended set and the steps it never reached marked notReached.
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": "get_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | The run's id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| step | No | The step in hand. | |
| ended | No | Finished or stopped. | |
| notes | No | Only where the person lets this assistant read notes and values. | |
| steps | No | ||
| status | No | The run's status, by its id: running and paused are the app's own, and a status the person made has one of its own. | |
| stepID | No | The step in hand's id: what next_step and put_off_step take as expectsStep. | |
| values | No | By key, and by "step › key" for a step's. Only where the person lets this assistant read notes and values. | |
| planned | No | Planned for later and not begun. | |
| routineID | No | ||
| startedAt | No | ||
| stepNumber | No | Which step it is on, counting from one. |