Set JavaScript breakpoint
web_breakpoint_setSet a breakpoint using one-based source coordinates. Select coordinateSpace=original and an exact source URL/scriptId from the sources capture to translate a source map; ambiguous or unavailable mappings fail explicitly.
Instructions
Set a breakpoint using one-based source coordinates. Select coordinateSpace=original and an exact source URL/scriptId from the sources capture to translate a source map; ambiguous or unavailable mappings fail explicitly.
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>",
"sourceUrl": "<sourceUrl>",
"line": "<line>"
},
"name": "web_breakpoint_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| column | No | ||
| scriptId | No | ||
| sessionId | Yes | ||
| sourceUrl | Yes | ||
| coordinateSpace | No | generated |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| warnings | Yes | ||
| artifacts | Yes |