dsh_wait
Wait for a delegated coding task to complete, fail, stop, or time out. Returns only the status; on timeout, call wait again with the same cursor to continue monitoring.
Instructions
Subscribe until completion, failure, stop, or timeout (default/max 300 seconds). Omit timeout_seconds for normal delegation; 0 is a one-shot check. Only status is returned. Use the ORIGINAL send_message after_cursor on every wait. On timed_out, call wait again with that same cursor; never resend the task or poll result/history. Only one wait per session at a time. On completion call dsh_result and review code/tests.
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": {
"session_id": "<session_id>",
"after_cursor": "<after_cursor>",
"timeout_seconds": "<timeout_seconds>"
},
"name": "dsh_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| after_cursor | Yes | ||
| timeout_seconds | Yes |