read_project_file
Read a text file from an allowed root directory, performing path, binary, and size verification for secure file access.
Instructions
Read a text file from an allowed root with path, file, binary, and size checks.
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": {
"root": "<root>",
"relativePath": "<relativePath>"
},
"name": "read_project_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | Absolute configured allowed root. | |
| maxBytes | No | ||
| relativePath | Yes |