Read a paged remote task result
get_task_result_chunkReads one bounded character slice from a large completed task result. Use only when a device tool or get_task_result returned result_mode=PAGED. Reuse the same command_id and advance offset with next_offset; never resubmit the original operation just to obtain more output.
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": {
"command_id": "<command_id>"
},
"name": "get_task_result_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Maximum characters to return in this chunk. | |
| offset | No | Character offset into the serialized result. Defaults to 0. | |
| command_id | Yes | The command_id of the completed task. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| eof | Yes | ||
| chunk | Yes | ||
| length | Yes | ||
| offset | Yes | ||
| status | Yes | ||
| command_id | Yes | ||
| next_offset | Yes | ||
| total_bytes | Yes | ||
| total_chars | Yes |