frida_android_setup
Set up Frida server on Android via ADB to prepare for app-level HTTP(S) interception and debugging in HTTP Toolkit.
Instructions
Set up a Frida host on an Android device connected via ADB. This prepares the device for app-level interception by installing the Frida server and CA certificate.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proxyPort | Yes | Proxy port | |
| hostId | Yes | Frida host ID. Use get_interceptor_metadata with id "android-frida" to list available hosts. |
Implementation Reference
- src/index.ts:225-237 (handler)The 'frida_android_setup' tool registration in src/index.ts. It uses the `client.activateInterceptor` method from `HttpToolkitClient` to perform the setup by passing 'android-frida' as the interceptor ID and { action: 'setup' } in the options.
server.registerTool( 'frida_android_setup', { title: 'Setup Android Frida Host', description: 'Set up a Frida host on an Android device connected via ADB. This prepares the device for app-level interception by installing the Frida server and CA certificate.', inputSchema: z.object({ proxyPort: z.number().describe('Proxy port'), hostId: z.string().describe('Frida host ID. Use get_interceptor_metadata with id "android-frida" to list available hosts.'), }), }, async ({ proxyPort, hostId }) => jsonResult(await client.activateInterceptor('android-frida', proxyPort, { action: 'setup', hostId })) );