fault.test
Test a URL glob against recorded traffic before creating an abort rule. Returns sample matches/non-matches and warns if the pattern would block the page’s own document.
Instructions
Dry-run a URL glob against the traffic already recorded, without creating a rule. Returns sample matches and non-matches, and warns when the pattern would also take out the document of the page you are driving. Use before fault.abort when the pattern is not obviously right.
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": "fault.test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The glob to test, e.g. "http://localhost:5000/**". | |
| limit | No | Samples per bucket. Default 10. | |
| target_id | No | Target handle (tgt_*). Omit for the active page. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. | |
| resource_types | No | Restrict to these CDP resource types. |