Get captured requests
network_requestsInspect HTTP traffic captured during mobile UI tests. Filter by URL pattern and time, limit results, and optionally include headers and body to debug network requests.
Instructions
Return captured HTTP exchanges (method, url, status). Compact by default; set include_headers/include_body for detail. Filter by URL regex and limit count to avoid flooding.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_id": "<device_id>"
},
"name": "network_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| filter | No | Further filter captured URLs by regex | |
| since_ts | No | Only return exchanges after this epoch-seconds timestamp | |
| device_id | Yes | Device id from list_devices (adb serial like 'emulator-5554', or an iOS simulator UDID) | |
| include_body | No | ||
| include_headers | No |