ruyi_break_on_xhr
Pause JavaScript execution by inserting a debugger statement when an XHR or Fetch request URL matches a given substring. Use to intercept and inspect specific network requests during browser automation.
Instructions
在 XHR/Fetch 请求 URL 匹配时触发断点(注入 debugger)。等价于 ruyi_set_breakpoint_on_text with XHR wrapper.
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": {
"url": "<url>"
},
"name": "ruyi_break_on_xhr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL 匹配片段(子串匹配) | |
| pageIdx | No |