browser_close_window
Close a browser window and all its tabs at once, leaving other windows open. Use this to shut down an entire window rather than a single tab.
Instructions
Close a browser window and every tab in it. Other windows are unaffected. To close a single tab use browser_close_tab.
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": {
"windowId": "<windowId>"
},
"name": "browser_close_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| windowId | Yes | The window to close. |