get_capture_slice
Retrieve a specific line range from a stored command output to examine full context around search matches.
Instructions
Fetches an exact range of lines (1-indexed) from a capture to inspect full context around a match.
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": {
"start_line": "<start_line>",
"end_line": "<end_line>"
},
"name": "get_capture_slice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_line | Yes | ||
| capture_id | No | latest | |
| start_line | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |