get_source_context
Read source lines around a project file and line to show surrounding code context during .NET debugging, helping AI agents inspect breakpoints and stepping behavior.
Instructions
Read source lines around a project-scoped location.
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>",
"line": "<line>"
},
"name": "get_source_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| line | Yes | ||
| radius | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||