Block Network
network_blockBlock page requests by URL regex to stop unwanted network calls and reproduce controlled browser workflows.
Instructions
Block requests whose URL matches a regular expression for the active page.
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": {
"urlPattern": "<urlPattern>"
},
"name": "network_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page id. Defaults to the active page. | |
| urlPattern | Yes |