read_sandbox_file
Read text files from inside an isolated sandbox to retrieve generated output or inspect earlier writes. Long files return a marked head and tail when truncated, and the network option selects which sandbox to access.
Instructions
Read a text file from inside the sandbox.
Use it to collect a file that sandboxed code produced, or to check what an earlier
write_sandbox_file left behind. Long files come back capped as head + tail with the
elision marked, and truncated: true says so. network selects which sandbox, and a
file written to one is not visible in the other.
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": "read_sandbox_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| network | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||