list_interceptors
List active HTTP traffic interceptors in HTTP Toolkit, including browsers, terminals, mobile devices, and Docker containers, to monitor and debug network traffic.
Instructions
List all available HTTP traffic interceptors (browsers, terminals, mobile devices, Docker, etc.) and their activation status
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proxyPort | No | Proxy port to check active status against |
Implementation Reference
- src/index.ts:89-100 (handler)Tool registration and handler for list_interceptors in src/index.ts. The handler calls client.getInterceptors.
server.registerTool( 'list_interceptors', { title: 'List Interceptors', description: 'List all available HTTP traffic interceptors (browsers, terminals, mobile devices, Docker, etc.) and their activation status', inputSchema: z.object({ proxyPort: z.number().optional().describe('Proxy port to check active status against'), }), }, async ({ proxyPort }) => jsonResult(await client.getInterceptors(proxyPort)) ); - src/httptoolkit-client.ts:86-89 (handler)Actual API implementation for getInterceptors which performs the network request to the HTTP Toolkit server.
async getInterceptors(proxyPort?: number): Promise<{ interceptors: InterceptorInfo[] }> { const query = proxyPort ? `?proxyPort=${proxyPort}` : ''; return this.request('GET', `/interceptors${query}`); }