Read workspace file
exza_read_workspace_fileRead up to 50 MiB in bounded 32 KiB chunks from the authorized workspace. Use returned nextOffsetBytes and version fields for continuation; for managed-home short text use exza_read_home_text. Requires account-bound computer:read OAuth.
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": {
"path": "<path>"
},
"name": "exza_read_workspace_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Explicit path inside the scope for this tool; no symlink traversal where prohibited. | |
| format | No | Output format for file bytes, such as base64 for binary data. | |
| lengthBytes | No | Value provided by the user for this tool; see operation-specific constraints. | |
| offsetBytes | No | Byte offset for next bounded file chunk; start with zero. | |
| expectedSha256 | No | Lowercase SHA-256 from the prior read; prevents overwriting changed content. | |
| expectedFileVersion | No | Version marker returned by initial file read; reject changed files. |