read_file
Read a project file's contents to inspect or retrieve code. Specify a path and optional start/end lines to target specific sections, with access confined to the project root.
Instructions
Read the contents of a project file. Paths are confined to the project root unless JAMBAVAN_ALLOW_OUTSIDE_ROOT=1.
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": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project-relative or absolute file path | |
| end_line | No | Optional: 1-based end line | |
| start_line | No | Optional: 1-based start line |