debug_breakpoint
Add breakpoints to active debug sessions by specifying file, method, or symbol. Remove breakpoints by providing their ID.
Instructions
Add or remove a breakpoint in the active debug session. For action=add provide spec; for action=remove provide id.
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": {
"device_id": "<device_id>",
"action": "<action>"
},
"name": "debug_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device ID | |
| action | Yes | "add" or "remove" | |
| spec | No | Breakpoint spec for action=add. "File.swift:42", "Module.Type.method", "-[Class method:]", or runtime symbol. | |
| id | No | Breakpoint id for action=remove. |