get_source_context
Read a bounded range of source lines around a given line within the allowed workspace to provide code context for performance analysis.
Instructions
Read bounded source lines within one configured allowed workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| line | Yes | ||
| after | No | ||
| before | No | ||
| workspace_root | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| line | Yes | ||
| lines | Yes | ||
| end_line | Yes | ||
| start_line | Yes | ||
| schema_version | No | 1.0 |