browser_set_offline
Toggle browser to offline mode to test PWA offline behavior, Service Worker fallbacks, and error handling for network failures.
Instructions
Toggle browser network between online and offline mode. Use for testing PWA offline behavior, Service Worker fallbacks, and error handling for network failures.
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_set_offline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offline | Yes | true = go offline, false = restore connectivity |