Read File from Sandbox
sandbox_read_fileRead a file's contents inside a remote sandbox, with line offset and limit paging so large files can be read without truncation.
Instructions
Read the contents of a file inside a sandbox. Reads the whole file by default. For a large file, page through it with offset/limit instead — an oversized read gets truncated on the way back to you, and you will not be told where it was cut.
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": {
"sandbox_id": "<sandbox_id>",
"path": "<path>"
},
"name": "sandbox_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute file path inside the sandbox | |
| limit | No | Number of lines to read from offset | |
| offset | No | Starting line number, 1-based | |
| sandbox_id | Yes | ID of the target sandbox |