block_urls
Block network requests matching specified URL patterns to prevent ads, trackers, and unwanted images from loading during browser automation.
Instructions
Block network requests matching URL patterns (ads, trackers, images, etc.).
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": {
"patterns": "<patterns>"
},
"name": "block_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patterns | Yes | URL patterns to block (glob or substring) |