read_file
Retrieve file contents from a Linux devbox sandbox by providing the devbox ID and absolute file path. Use this to inspect configuration, logs, or scripts inside your Runloop environment.
Instructions
Read the contents of a file on a devbox.
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": {
"devbox_id": "<devbox_id>",
"file_path": "<file_path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| devbox_id | Yes | The id of the devbox. | |
| file_path | Yes | Absolute path of the file inside the devbox. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |