Start or stop intercepting requests
browser_network_interceptTurn Firefox BiDi network request interception on or off to hold matching requests before they are sent; release them with continue or response tools, then stop interception.
Instructions
Turn BiDi request interception on or off (network.addIntercept / removeIntercept, phase beforeRequestSent). While interception is ON, matching requests are HELD until something continues them — a page can appear to hang if nothing does. ⚠️ So always pair this with browser_network_continue_all (release everything held) or browser_network_provide_response (answer one request), and turn interception OFF when finished. Intercepted requests are listed by browser_network_requests (network.beforeRequestSent).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | start to begin intercepting, stop to release and stop | |
| urlPattern | No | Optional URL pattern to limit interception. MEASURED: the wildcard must be ESCAPED and the whole thing must parse as a URL, so use e.g. "http://127.0.0.1:8099/*" — a bare "*" fails with "Unable to parse URL" and an unescaped "*" fails with "unescaped forbidden character". |