get_file
Retrieve a file's contents from an indexed repository, with optional start and end lines, to inspect code or configuration.
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": {
"filePath": "<filePath>"
},
"name": "get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endLine | No | 1-based ending line number | |
| filePath | Yes | Relative path to the file in the indexed repository | |
| startLine | No | 1-based starting line number |