get_network_activity
Captures structured network events from platform logs after an action to provide backend evidence and resolve ambiguous results, including endpoint, status, and duration.
Instructions
Returns structured network events captured from platform logs since the last action.
Call this immediately after an action when you want backend evidence for a side-effect flow, only if the result is still ambiguous. Do not call more than once per action.
Events are filtered to significant (non-background) requests only. Each event includes endpoint, method, statusCode, networkError, status, and durationMs.
status values:
success: HTTP 2xx or request detected with no error signal
failure: HTTP 4xx
retryable: HTTP 5xx, network error (timeout, dns_error, tls_error, etc.)
Returns { requests: [], count: 0 } when no credible network signals are found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | No | Device Serial (Android) or UDID (iOS). Defaults to connected/booted device. | |
| platform | Yes | Platform to read network logs from |