interrupt
Stop a terminal's current turn when a worker loops, is processing, or awaits user input. Returns the observed status about 2 seconds later, then queued messages proceed.
Instructions
Stop a terminal's current turn (Escape), e.g. when a worker is going in circles.
Only while its status is processing or waiting_user_answer (an idle prompt has nothing to interrupt and is refused). Returns the status observed ~2 s later (normally idle or completed); queued messages are then delivered as usual.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terminal_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||