读取任务完整产物
dsh_read_resultRead paginated task results or event logs from saved artifacts when output is too long, enabling complete result retrieval within the task directory.
Instructions
当 dsh_result 因输出过长落盘(返回 artifacts)时,用本工具分页读取完整结果或事件日志;仅限任务目录内。
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_read_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | 字符偏移,默认 0 | |
| source | No | result=最终结果落盘文件;events=事件流 JSONL;默认 result | |
| task_id | Yes | 任务 id | |
| max_chars | No | 本次最多返回字符数,默认 20000 |