pilot_block
Block network requests by URL patterns to accelerate page loads and reduce noise from ads and trackers. Use built-in 'ads' preset or custom glob patterns.
Instructions
Block network requests matching URL patterns to speed up page loads and reduce token noise from ad/tracker content. Use when the user wants to block ads, trackers, analytics scripts, or any noisy domain. Blocked requests are aborted before they hit the network — faster loads, smaller snapshots. Use the built-in "ads" preset to block ~20 major ad networks with one call.
Parameters:
patterns: Array of URL glob patterns to block (e.g., ["googletag", ".hotjar.com/"])
preset: Built-in preset to block — "ads" blocks ~20 major ad and tracker networks
clear: Set to true to remove all active blocks
Returns:
Add mode: List of active blocked patterns.
clear mode: Confirmation that all blocks were removed.
Errors: None — invalid patterns are silently ignored by the browser.
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": "pilot_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patterns | No | URL glob patterns to block | |
| preset | No | Built-in preset: "ads" blocks major ad/tracker networks | |
| clear | No | Remove all active blocks |