browser_mock
Define per-URL request rules to block requests or return custom status, body, and headers in a browser tab; replaces existing rules and supports up to 50.
Instructions
Set request rules by URL glob/substring: block, or reply with status, body and headers. rules replaces all; [] clears. Limit: 50.
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": {
"tabId": "<tabId>"
},
"name": "browser_mock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | No | ||
| tabId | Yes |