read_repository_file
Read a specific line range from an indexed repository file to inspect exact implementation details without loading entire large files into context.
Instructions
Read a specific line range from a file indexed in the local repository vault.
Use this after search_my_repositories or get_project_blueprint to
inspect exact implementation details without loading entire large files
into the context window.
Args: repo_name: Exact repository name. file_path: Relative file path inside the repository. start_line: 1-based inclusive start line (default 1). end_line: 1-based inclusive end line (default 200).
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": {
"repo_name": "<repo_name>",
"file_path": "<file_path>"
},
"name": "read_repository_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_line | No | ||
| file_path | Yes | ||
| repo_name | Yes | ||
| start_line | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||