browser_mode
Switch Chrome between headless private, logged-in real, and cookie-less anonymous modes, with status checks and a fallback when sandboxed headless access is blocked.
Instructions
Low-risk mode switcher: private_start (headless, prefer when logins aren't needed), private_status, use_private, use_real, anon_on (fallback cookie-less context if sandbox blocks headless), anon_status.
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": "browser_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Initial http(s) URL or about:blank (private_start). | |
| action | Yes | Mode action. | |
| headed | No | Show window instead of headless. | |
| dry_run | No | Print Chrome flags without launching. | |
| no_wait | No | Skip waiting for initial URL. |