run_finish
Close a run opened with run_start, with one outcome:
done— everything asked is done.partial— the run ended cleanly but did only part of the work:noteis REQUIRED and says what is done and what remains.blocked— stopped by an obstacle it cannot lift alone (access, missing data, a cap, a human decision).failed— an error broke the run.
Whatever the outcome, the rows the run still held go back to the queue
(rows_released).
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>",
"outcome": "<outcome>"
},
"name": "run_finish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _org | No | Org (id) de CET APPEL. `oto_list_orgs()`. | |
| note | No | what worked, where it broke, what was missing — required for partial. | |
| _group | No | Équipe (id) de CET APPEL, sous son org parente. | |
| run_id | Yes | the id returned by run_start. | |
| outcome | Yes | one of done | partial | failed | blocked. | |
| _project | No | Projet (id) de CET APPEL — jeton PRIMAIRE. `oto_project(op='list')`. |