network.simulate
Simulate network conditions such as slow-3g, offline, or custom latency/download/upload limits to test how a page behaves under constrained connectivity.
Instructions
Damage the network on purpose. Presets: slow-3g, fast-3g, 4g, bad-wifi, offline, none. Or set latency, download and upload directly.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "network.simulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | No | ||
| upload | No | ||
| latency | No | e.g. "400ms". | |
| offline | No | ||
| download | No | e.g. "750kbps". | |
| target_id | No | Target handle (tgt_*). Omit for the active page. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. |