Interject
dsh_interjectSteer a running conversation by stopping its current turn and redirecting at once, or queue a message to speak after the turn ends; the call blocks until the new turn completes.
Instructions
Say something to a conversation while it is running a turn. This tool blocks until the new turn ends (it moves to the background only when timeout_ms expires). Two modes: interject (default) stops the current turn and redirects at once; queue does not stop it and speaks right after the current turn ends naturally (without using the dsh_queue queue). To stop without saying anything use dsh_interrupt; to run after the current turn without blocking use dsh_send(queue=true). On an idle conversation it runs as an ordinary wait=true turn (full result, not a receipt). Note: ACP refuses concurrent prompts, so steering the model inside the same turn is not possible; interject is the practical equivalent (cancel, then start a new turn immediately, with history intact).
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": {
"conversation_id": "<conversation_id>",
"message": "<message>"
},
"name": "dsh_interject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | interject (default) = stop and redirect; queue = speak after the current turn finishes. | |
| review | No | Review policy for this turn, overriding the conversation default (advisory); off skips the review ticket this time. | |
| message | Yes | What to say. | |
| reasoning | No | How much reasoning to return. Default hide. | |
| timeout_ms | No | Upper bound on **waiting** for the new turn, in milliseconds. **Default 0 = wait forever**; in queue mode it also bounds the wait for the previous turn to end. While busy, a wait that times out is an error (the message was not sent and the conversation is unharmed); when idle, expiry only moves the turn to the background without cancelling it. | |
| client_run_id | No | Caller-generated idempotency key (up to 128 characters, scoped to this conversation). Submitting it again returns the first run instead of interjecting twice. | |
| conversation_id | Yes | Conversation id, from dsh_start or dsh_list. |