cdp_network_start
Start network capture for a browser session, saving matching requests as JSON files and a requests.jsonl log. Call before navigating to include the first document request.
Instructions
Start network capture for this session. Every matching request is written as a JSON file into dir (plus requests.jsonl). No count limit. Call before navigating if you need the first document 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": {
"session_id": "<session_id>",
"dir": "<dir>"
},
"name": "cdp_network_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Directory to save captured requests | |
| method | No | ||
| session_id | Yes | Session id returned by cdp_connect | |
| url_contains | No | ||
| resource_type | No |