view-network-request-details
Read a captured network request by ID to inspect its status, timing, headers, and available bodies when debugging app network traffic.
Instructions
Read the details of one captured request. Call this with an ID from a network log or await-network-request. Native requests need no debugger connection. Returns status, timing, headers and available bodies. Argent redacts sensitive headers and limits text previews to 1000 characters. URLs and bodies can still contain secrets. If a native upload is still in progress, retry after it finishes. If the ID is not found, the tool returns a message. Refresh the log if that happens or after a JavaScript reload. Reloads can reuse IDs for different requests. On Vega, a JS lookup can start capture. Read view-network-logs before triggering the request.
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>",
"requestId": "<requestId>"
},
"name": "view-network-request-details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Metro port. Omit it to use this device's port (8081 by default). Ignored for Chromium, whose CDP port is in device_id. Range: 1 to 65535. | |
| device_id | Yes | Device ID for the matching log. For JS capture on iOS simulators and Android, use the logicalDeviceId if capture started with it. | |
| requestId | Yes | Request ID from either network log or await-network-request. | |
| includeBody | No | Set false to omit the response body. The request body can still appear. Default: true. |