interceptor_list
Lists available interceptors for network traffic capture and modification across Chrome, Terminal, Android devices, and Docker containers.
Instructions
List all interceptors with their availability and active targets. Shows Chrome, Terminal, Android ADB, Android Frida, and Docker interceptors.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/interceptors.ts:72-93 (handler)The handler for the 'interceptor_list' tool which calls `interceptorManager.list()` to fetch the state of all active interceptors.
server.tool( "interceptor_list", "List all interceptors with their availability and active targets. Shows Chrome, Terminal, Android ADB, Android Frida, and Docker interceptors.", {}, async () => { try { const list = await interceptorManager.list(); return { content: [{ type: "text", text: JSON.stringify({ status: "success", interceptors: list, totalActive: list.reduce((sum, i) => sum + i.activeTargets.length, 0), }), }], }; } catch (e) { return { content: [{ type: "text", text: JSON.stringify({ status: "error", error: errorToString(e) }) }] }; } }, );