electron_cdp_network
Capture, filter, and clear Electron app network requests via CDP, or set up mock responses by URL pattern to test app behavior without a live backend.
Instructions
Interact with network requests via CDP: get captured requests, clear history, or set up mocks
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": {
"action": "<action>"
},
"name": "electron_cdp_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mock | No | ||
| action | Yes | Action to perform: get entries, clear entries, or set up mock | |
| filter | No |