block_requests
Block tab requests by resource type or URL pattern to speed up heavy pages or stop unwanted assets, and turn blocking off when no longer needed.
Instructions
Block requests of a tab by resource type (image, font, media, stylesheet, script, ...) and / or URL pattern (substring, or * wildcards), e.g. to speed up heavy pages. Replaces the previous rule; off=true stops blocking.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "block_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| off | No | ||
| tabId | No | Tab to act on, from tabs_context. Omitted: this session's active tab. Pass it always when several agents share the session. | |
| url_patterns | No | ||
| resource_types | No |