read_file
Read file contents: returns full content for files under 200 lines, outline for longer files, and supports optional line ranges.
Instructions
Smart reader. <200L: full content. >200L: outline. Optional line range.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Relative path to file (also accepts file_path) | |
| end_line | No | End line | |
| file_path | No | Alias for file | |
| start_line | No | Start line |