Block requests
browser_blockBlocks tab network requests by URL pattern so unwanted resources fail; add, remove, or clear rules for the current session to control page behavior.
Instructions
Blocks tab network requests matching URL patterns (they fail). add adds, remove removes, clear removes all rules you set. Patterns: * any chars, ? one char. A bare domain matches every request containing it ("ads.example.com" → "ads.example.com"). A trailing * is added automatically so query strings still match (".png" → ".png*"). The tab skips the cache while rules exist. Rules last only while this Claude session is alive and are shown to other agents in the header. With no args, shows current rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | URL patterns to block | |
| tab | No | Target tab: number (1, 2…) or ID ("t7"). Use the stable ID when agents share a slot. Required for action tools when there are multiple tabs. | |
| slot | Yes | Browser slot 1-30. "3", "slot 3", "browser 3" → 3. If the user gives a port like 14052, subtract 14049. | |
| agent | No | Your display name, shown to other agents. Subagents must always set it. Default "claude-68d9". | |
| clear | No | Remove all rules set by this session | |
| remove | No | Patterns to unblock | |
| summary | No | One-line note of what you are doing (e.g. "comparing laptop prices"). Shown in browser_status (not the status line). Omit to keep the previous one. | |
| multiSlot | No | true only when one agent must handle several slots together (e.g. comparing). Normally omit (one agent = one slot; use subagents for the rest) |