Read a file
sandbox_read_fileRead a file. Reads a file from the sandbox as text, or as base64 with encoding=base64. At most 10 MB.
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>",
"sandboxId": "<sandboxId>"
},
"name": "sandbox_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute, or relative to the sandbox's home directory. | |
| encoding | No | utf-8 | |
| sandboxId | Yes |