tldr_slice
Identify all lines that affect a specific line in a source file to understand dependencies and influences on a value or statement.
Instructions
Program slice: find all lines that affect a specific line. Use to understand what influences a value or statement.
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": "<file>",
"function": "<function>",
"line": "<line>"
},
"name": "tldr_slice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| var | No | Variable to track (optional) | |
| file | Yes | Source file path | |
| line | Yes | Line number to slice from | |
| function | Yes | Function name | |
| direction | No | Slice direction (default: backward) |