interceptor_deactivate_all
Deactivate all active interceptors to stop Chrome instances, kill spawned processes, remove ADB tunnels, detach Frida, and clean Docker containers for emergency cleanup.
Instructions
Kill ALL active interceptors across all types. Emergency cleanup — stops all Chrome instances, kills spawned processes, removes ADB tunnels, detaches Frida, cleans Docker.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/interceptors.ts:120-138 (handler)The handler implementation for the interceptor_deactivate_all tool, which shuts down all active interceptor sessions and cleans up resources.
server.tool( "interceptor_deactivate_all", "Kill ALL active interceptors across all types. Emergency cleanup — stops all Chrome instances, kills spawned processes, removes ADB tunnels, detaches Frida, cleans Docker.", {}, async () => { try { await devToolsBridge.closeAllSessions().catch(() => {}); await interceptorManager.deactivateAll(); return { content: [{ type: "text", text: JSON.stringify({ status: "success", message: "All interceptors deactivated." }), }], }; } catch (e) { return { content: [{ type: "text", text: JSON.stringify({ status: "error", error: errorToString(e) }) }] }; } }, );