browser_ensure_window
Create or reuse a dedicated Chrome window for agent work, keeping tabs and groups separate from the user's browsing. Pass a saved window ID to reuse it or get a new one.
Instructions
Create or reuse a dedicated Chrome window for agent work (keeps tabs/groups off the user browsing window). Persist and pass back window_id on later calls.
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": "browser_ensure_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Initial URL when creating a new window (default about:blank) | |
| task | No | Bind window to this tab group / task name | |
| width | No | ||
| height | No | ||
| focused | No | Whether to focus the window (default false) | |
| window_id | No | Previously saved window id to reuse; if gone, a new window is created. |