Read remote task result
get_task_resultReads the final result of a previously submitted computer task by command_id. Small results are returned inline. Large results return result_mode=PAGED with size/preview metadata; continue with get_task_result_chunk using the same command_id instead of resubmitting the original operation. If the task is not terminal yet, continue with get_task_status.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command_id | Yes | The command_id returned by a previous device tool call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | Yes | ||
| method | Yes | ||
| result | Yes | ||
| status | Yes | ||
| advisory | No | ||
| terminal | Yes | ||
| device_id | Yes | ||
| exit_code | Yes | ||
| retryable | Yes | ||
| command_id | Yes | ||
| error_code | Yes | ||
| device_name | Yes | ||
| next_action | Yes | ||
| result_mode | Yes | ||
| workflow_id | Yes | ||
| brand_notice | No | ||
| failure_kind | Yes | ||
| result_bytes | Yes | ||
| result_chars | Yes | ||
| ai_session_id | Yes | ||
| failure_domain | Yes | ||
| fatal_incident | No | ||
| handoff_notice | No | ||
| result_preview | Yes | ||
| retry_after_ms | Yes | ||
| auto_diagnostics | No | ||
| display_headline | No | ||
| display_severity | No | ||
| result_available | Yes | ||
| result_next_offset | Yes | ||
| diagnostic_required | No | ||
| auto_diagnostic_triggered | No |