runtime_sandboxes_files_read
Read a file in a sandbox as text (UTF-8) or base64. Text reads can take a line range (startLine, lineCount) so large files come in pieces; the reply says the total line count. At most 1 MiB per read; any path the sandbox user may read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| path | Yes | Absolute path in the sandbox, e.g. /workspace/app/main.py. Any path the sandbox user may use. | |
| encoding | No | text | |
| lineCount | No | ||
| startLine | No |