Read Sandbox File
read_sandbox_fileInvestigate failures by reading files from the sandbox workspace: inspect source, config, or logs directly instead of guessing from stack traces.
Instructions
Read a file from inside the sandbox as text.
USE THIS to investigate a failure -- read the source, the config, a log -- without guessing from stack traces. Paths are workspace-relative and cannot escape it; this tool cannot read the developer's machine.
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": {
"experiment_id": "<experiment_id>",
"path": "<path>"
},
"name": "read_sandbox_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Workspace-relative path, e.g. 'src/index.js'. | |
| experiment_id | Yes | The experiment to read from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |