file_read
Read a text file's contents, optionally specifying start and end lines to extract only the needed portion.
Instructions
Read contents of a text file with optional start and end line ranges.
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 | Target file path. | |
| end_line | No | Optional end line (1-indexed). | |
| start_line | No | Optional start line (1-indexed). |