interceptor_android_deactivate
Deactivate network interception on Android devices by removing ADB reverse tunnels and clearing Wi-Fi proxy settings to restore normal connectivity.
Instructions
Remove ADB reverse tunnel and clear Wi-Fi proxy on an Android device.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | Yes | Target ID from interceptor_android_activate |
Implementation Reference
- src/tools/interceptors.ts:580-599 (handler)The tool "interceptor_android_deactivate" is defined here, which delegates the deactivation to `interceptorManager.deactivate`.
server.tool( "interceptor_android_deactivate", "Remove ADB reverse tunnel and clear Wi-Fi proxy on an Android device.", { target_id: z.string().describe("Target ID from interceptor_android_activate"), }, async ({ target_id }) => { try { await interceptorManager.deactivate("android-adb", target_id); return { content: [{ type: "text", text: JSON.stringify({ status: "success", message: `Android device ${target_id} deactivated.` }), }], }; } catch (e) { return { content: [{ type: "text", text: JSON.stringify({ status: "error", error: errorToString(e) }) }] }; } }, );