block_urls
Block browser requests matching specified URL patterns using Chrome wildcard syntax. Remove all blocks by passing an empty list.
Instructions
Block subsequent requests whose URL matches one of the patterns.
Patterns use Chrome's wildcard syntax: ``*googletagmanager.com*``,
``*.png``, ``https://analytics.example.com/*``. Pass an empty list
or call ``unblock_all_urls`` to remove all blocks.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |