set_headless
Switches the browser between headed and headless modes and restarts Chromium to apply the change; switching to headless requires force when non-blank tabs are open.
Instructions
Switch headed (default) vs headless mode; restarts Chromium on change (switching to headless refuses if non-blank tabs exist unless force=True). Prefer wait_for_human() for login/2FA.
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": "set_headless"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| headless | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |