intercept_off
Disable request interception to stop filtering HTTP traffic and restore normal network operations.
Instructions
Disable request interception.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- extension/background.js:664-668 (handler)Handler for 'intercept.off' tool - disables network request interception by sending Fetch.disable command via Chrome debugger protocol
case 'intercept.off': { try { await chrome.debugger.sendCommand({ tabId }, 'Fetch.disable') } catch {} scheduleDetach(tabId) return {} } - extension/background.js:310-322 (registration)Tool registration in capabilities - 'intercept.off' is listed in the supports array returned by the capabilities method
case 'capabilities': return { runtime: 'extension', version: '0.6.5', supports: [ 'eval', 'pointer', 'keyboard', 'nav', 'wait', 'screenshot', 'cookies', 'storage', 'click', 'type', 'fill', 'hover', 'scroll', 'pressKey', 'select', 'fetch', 'find', 'download', 'waitFor', 'waitForNetwork', 'ssrState', 'copyAll', 'upload', 'dialog', 'extract', 'tab.new', 'tab.list', 'tab.close', 'inspect.page', 'inspect.networkStart', 'inspect.networkDump', 'inspect.networkStop', 'intercept.on', 'intercept.off' ] } - extension/background.js:655-662 (handler)Related handler for 'intercept.on' tool - enables network request interception with URL patterns
case 'intercept.on': { await ensureDebugger(tabId) const patterns = (params.patterns || ['*']).map(p => ({ urlPattern: p })) await chrome.debugger.sendCommand({ tabId }, 'Fetch.enable', { patterns }) const session2 = debuggerSessions.get(tabId) if (session2?.detachTimer) { clearTimeout(session2.detachTimer); session2.detachTimer = null } return {} }