Loop
loopThe full-managed Loop: which computer runs which task or step, and steering it.
action:
- agenda: what waits or went wrong now (the list a supervise round gets).
- placements: placements, filtered by task_key, step (work|review|merge|
supervise) and open_only; needs_you lists the ones no computer can take.
- placement: one placement with its detail (placement_id).
- report: the computer a step was placed on says how it ended (placement_id,
outcome finished|failed, note). A finish that changes nothing counts as a
failure after 2 minutes.
- move: put a task or step on another computer (placement_id, host_id
optional: without it the best other computer; the old one is not picked
again for this task). Also puts a held task back on the computers.
- withdraw: take a task off the computers until someone claims it or it is
moved (placement_id); ends a supervise round. Reviews and merges are moved.
- schedule_now: run a scheduling pass now (people and commanders).
- hosts: the computers, as list_hosts.
- doctor: what the Loop needs and what is missing, each with the fix.
agenda, move and withdraw are for people, super admins and supervisor
computers (SUPER_ADMIN token or the supervisor capability).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": {
"action": "<action>"
},
"name": "loop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| step | No | ||
| action | Yes | ||
| host_id | No | ||
| outcome | No | ||
| task_key | No | ||
| open_only | No | ||
| placement_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||