list_breakpoints
Retrieve all breakpoints in a debug session with verified state and adapter IDs; optionally filter by file, with session-global function breakpoints shown separately.
Instructions
List all breakpoints in a session with their verified state and adapter-assigned ids. Session-global function breakpoints appear separately as functionBreakpoints (omitted when filtering by file). Works before launch (queued, verified=false), while running or paused, and after the program exits
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": {
"sessionId": "<sessionId>"
},
"name": "list_breakpoints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional: only list breakpoints in this file | |
| sessionId | Yes |