browser_network_state_set
Toggle browser connectivity by setting offline mode to simulate network loss or restore online access for testing anti-bot behaviors.
Instructions
Set network state: pass offline=true to simulate offline, offline=false to restore connectivity.
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": {
"offline": "<offline>"
},
"name": "browser_network_state_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offline | Yes |