file_read
Read the contents of a text file from the sandbox directory using a relative path and optional encoding.
Instructions
Read the contents of a text file. The path must be relative to the sandbox base directory.
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": "file_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path to the file to read | |
| encoding | No | File encoding (default: utf-8) | utf-8 |