Steer a running turn
steer_agentSend a new instruction to a running agent turn without interrupting its current work, so the agent incorporates the message and continues with session memory intact.
Instructions
Steer a running turn. Send a new message to a turn that is already running, without losing what the agent is doing. This is what typing into a coding agent while it works does: the instruction is taken into account and the work continues.
Where the harness has a native mid-turn primitive (Claude Code, Codex, pi, Prime Agent) nothing is interrupted and the response has native: true. Where it does not (OpenCode), Boat interrupts that turn and immediately continues the SAME conversation with the instruction, keeping the session and its memory, and the response has native: false.
Refused with 409 no_running_turn when the conversation has nothing in flight; queue work with POST /prompt instead. error.details.reason says why: turn_ended (with error.details.lastTurn.status and .error of the newest turn), turn_not_started (the turn is starting; retry in a moment), no_turn, not_running (the sandbox is not running) or delivery_failed (the sandbox did not accept the steer; check the turn before sending more work). The steer shows up in GET /events as a steer event. See Integrated agents.
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": {
"sandboxId": "<sandboxId>",
"message": "<message>"
},
"name": "steer_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The extra instruction for the running turn. | |
| sandboxId | Yes | Public Sandbox id returned by create/list/get sandbox calls. | |
| conversation | No | Conversation id to steer. Omit to steer the sandbox's most-recently-active conversation. |