Get DSH task result
dsh_get_resultRetrieve the final answer, test-line summary, errors, usage, and timing for a terminal DSH task; wait up to 25 seconds if it is still running, then review results before claiming tests passed.
Instructions
Return the final answer, a bounded test-line summary, errors, usage, and timing for a terminal DSH task. If the task is still running, use wait_seconds (maximum 25s) rather than repeated immediate calls. Review the result before claiming that tests passed.
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": {
"task_id": "<task_id>"
},
"name": "dsh_get_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task id returned by dsh_start_task. | |
| max_chars | No | Maximum characters of final result text to return. | |
| include_logs | No | Include a short redacted stderr excerpt. Off by default. | |
| wait_seconds | No | Wait up to this many seconds for a terminal state. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| next | No | ||
| result | Yes | ||
| status | Yes | ||
| message | No | ||
| task_id | Yes | ||
| terminal | Yes |