Wait for a DSH task
dsh_waitWaits for the current turn of a DSH session to finish, up to 30 seconds. If time runs out, returns running status with partial output; call again with the same sessionId to continue waiting.
Instructions
Wait up to 30 seconds for the current turn of a DSH session to finish. Returns status "running" with partial output when the budget elapses; call again with the same sessionId.
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": {
"sessionId": "<sessionId>"
},
"name": "dsh_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | DSH session id, e.g. session-… returned by a previous call. | |
| timeoutMs | No | Wait budget in milliseconds; capped at 30 seconds. |