set_breakpoint_on_text
Set a breakpoint in scripts by searching for specific text or regex pattern, enabling targeted debugging.
Instructions
Search loaded scripts and set a breakpoint at matching text/regex. Best for AI-driven debugging.
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": {
"query": "<query>"
},
"name": "set_breakpoint_on_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| regex | No | ||
| filter | No | Optional URL/scriptId filter. | |
| condition | No | ||
| occurrence | No | ||
| case_sensitive | No |