Download Diagnostic Archive
terminal_read_diagnosticRead diagnostic ZIP archive bytes by diagnostic ID and archive offset as base64 to download and verify exported diagnostics before expiry.
Instructions
Read up to 65536 ZIP bytes by diagnostic_id and archive byte offset as base64. This offset is not a Session cursor. Download before expiry/eviction; verify the exported SHA256.
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": {
"diagnostic_id": "<diagnostic_id>",
"offset": "<offset>"
},
"name": "terminal_read_diagnostic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | Yes | ||
| max_bytes | No | 1..65536; default 65536. | |
| diagnostic_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eof | Yes | ||
| data | Yes | ||
| next | Yes | ||
| size | Yes | ||
| sha256 | Yes | ||
| encoding | Yes | ||
| bytes_read | Yes |