set_task_state
Report a claimed task's state as working, waiting for input, or errored without extending the lease. Use this to signal blockers while keeping the claim visible.
Instructions
Report the session state of a task you have claimed — working, waiting_input, or errored — without extending the lease. Use this to flag that you are blocked on input or hit an error: the claim stays visible as held-but-stuck instead of faking liveness. Humans and orchestrators see the state via list_tasks/get_task. Fails with 409 if you no longer hold an active claim. Hosted API only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The claimed task ID | |
| state | Yes | The session state to set | |
| detail | No | Free-text detail (max 500 chars, e.g. 'needs prod API key', 'build failed: missing dep') |