network_summary
Aggregate captured network traffic by domain, resource type, and heaviest requests to verify consent blocks and identify what makes a page heavy.
Instructions
Aggregate the session's captured network traffic: bytes and request counts by domain (with third_party flag) and by resource type, the heaviest requests, third-party share, and how many responses came from a service worker. since='open' (default, whole session), 'clear' (only traffic after get_network_log(clear=true) — the before/after-an-interaction pattern: clear, act, summarize), or an epoch-ms timestamp. Sizes come from Resource Timing (transfer bytes, current document) with Content-Length as fallback; unknowns are counted honestly. Use to verify a consent 'deny' really blocked GA/Meta/Vimeo, or to find what makes a page heavy.
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": {
"session_id": "<session_id>"
},
"name": "network_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | How many of the largest requests to list (default: 10) | |
| since | No | 'open' (default) | 'clear' | epoch milliseconds | |
| session_id | Yes | Session ID |