Steer a running worker or run
steer_workspace_workerSend a message into a running worker's turn to correct its direction without stopping it; the agent reads it before its next step and continues the same run.
Instructions
Send a message into a worker's running turn, for example to correct its direction, without stopping it. run_id is the worker's run_id from get_workspace_worker; a run started by send_workspace_message is also accepted. The agent reads the message before its next step and continues the same run; disposition steering means the running turn holds the message. A run that is not running (not started yet, paused on an approval or question, or ended) is refused with 409 run_not_running: answer a paused run with answer_pending_input. If the running turn cannot take the message, for example because it is ending, the message is withdrawn and the call is refused with 409 steer_not_delivered. A message sent through this connector makes the run's later outward actions pause for the account owner's approval, as for a run started through this connector. idempotency_key identifies the message: the same key with the same message returns the first result instead of sending it twice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The running run to send the message to. | |
| message | Yes | The message for the agent, in plain text (at most 65536 bytes). | |
| idempotency_key | No | Optional string of 1-255 bytes you generate for this message. Omitted, each call sends a new message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run that holds the message. | |
| steer_id | Yes | The id of the delivered message. | |
| disposition | Yes | steering: the running turn holds the message and the agent reads it before its next step. applied: the agent has already read it (a repeated request with the same idempotency_key). |