get_source_context
Retrieve code context around a specified line in a source file to aid debugging by showing surrounding lines.
Instructions
Get source context around a specific line in a file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| file | Yes | Path to the source file. Use absolute paths or paths relative to your current working directory | |
| line | Yes | Line number to get context for | |
| linesContext | No | Number of lines before and after to include (default: 5) |