read_text_lines
Read exact numbered UTF-8 source lines for review from already-allowed paths by specifying a 1-based start line and bounded line count, without edits or permission changes.
Instructions
Read numbered UTF-8 source lines without creating a new grant.
Use when exact numbered source lines are needed for review. Choose 1-based start_line and a bounded max_lines; no edits or permission changes.
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_text_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the target within the already-configured Owner read/edit roots; path alone grants no access. | |
| max_lines | No | Maximum line count, 1 to 100; default 50. | |
| start_line | No | First 1-based line to read (1 to 1000000); default 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||