get_edit_region
Return a numbered code excerpt around a symbol or line range for precise edits, with adjustable context.
Instructions
Return a tight numbered excerpt around a symbol or line range for precise edits.
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": {
"file_path": "<file_path>"
},
"name": "get_edit_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| symbol | No | ||
| start_line | No | ||
| end_line | No | ||
| context_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||