Start network capture
network_startCapture decrypted HTTP traffic from Android and iOS apps, filtering by URL regex to inspect specific API requests.
Instructions
Capture decrypted HTTP, filtered to specific endpoints. Android: hooks OkHttp via Frida in a debuggable app (app_id required; needs frida-server). iOS simulator: routes the sim through mitmproxy with a simctl-trusted CA (app_id optional; temporarily sets the macOS proxy, restored on stop). filter is a URL regex (e.g. 'v2/search').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spawn | No | Android only: spawn the app fresh to capture startup traffic | |
| app_id | No | Package/bundle id. Required on Android; optional on iOS (proxy is device-wide). | |
| filter | No | URL regex; only matching requests are recorded | |
| device_id | Yes | Device id from list_devices (adb serial like 'emulator-5554', or an iOS simulator UDID) |