set_breakpoint_by_id
Sets a breakpoint at a specified script ID and line in a loaded script, optionally with a condition or column, to pause execution for debugging.
Instructions
Set a breakpoint at a specific location in a loaded script.
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": {
"scriptId": "<scriptId>",
"lineNumber": "<lineNumber>"
},
"name": "set_breakpoint_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptId | Yes | Script ID from list_scripts or scriptParsed event | |
| condition | No | Breakpoint condition expression | |
| lineNumber | Yes | Line number (0-based) | |
| columnNumber | No | Column number (0-based) |