view-network-logs
Retrieve paginated captured network requests from a running app to debug API calls and inspect outbound HTTP traffic. Each entry includes method, URL, status, resource type, size, and duration.
Instructions
Retrieve captured network (HTTP) requests from the running app. Returns a paginated list of requests with method, URL, status, resource type, size, and duration. Each entry includes a requestId that can be passed to view-network-request-details for full details. On React Native (iOS/Android) interception is injected into the JS runtime — it captures fetch() calls. On Chromium it reads the browser's native CDP Network domain (the active tab; all request types). Use when inspecting outbound HTTP traffic or debugging API calls in the running app. Fails if the app is not connected (RN) or the device is not reachable (Chromium).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Metro server port (RN only; ignored on Chromium) | |
| device_id | Yes | Device UDID (logicalDeviceId). | |
| pageIndex | No | Page index (0-based) or "latest" for the most recent page. Each page contains up to 50 entries. | latest |