read_file
Read file contents from a project directory, specifying path and optional 1-indexed line range.
Instructions
Read file contents. Line numbers are 1-indexed.
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 | File path relative to project root | |
| start_line | No | First line to read (1-indexed) | |
| end_line | No | Last line to read, inclusive (1-indexed) |