获取 DSH 任务结果
dsh_resultRetrieves a completed task's final output, exit code, and duration; oversized output is saved to a file and its path returned, while unfinished tasks return an error.
Instructions
任务结束后获取最终结果(含完整输出、退出码、耗时)。输出过大时会自动落盘并返回文件路径。任务未结束时返回错误。
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_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | dsh_run 返回的任务 id |