controller_transition
Move a task between states like PLANNING, CODING, or COMPLETED to manage its lifecycle. Use this to update task progress and trigger next steps.
Instructions
Transition task to a new state (PLANNING, CODING, EXECUTING, VERIFYING, FAILED_RETRY, ROLLBACK, COMPLETED).
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": {
"task_id": "<task_id>",
"new_state": "<new_state>"
},
"name": "controller_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| new_state | Yes |