dbg_source
View source code lines around a specific file and line during debugging, defaulting to the current stop frame. Helps examine code context at breakpoints or stepping.
Instructions
Return source lines around file:line (defaults to the current stop frame).
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": {
"session_id": "<session_id>"
},
"name": "dbg_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| file | No | ||
| line | No | ||
| context | No |