Close a browser window
browser_close_windowCloses an entire Firefox window and every tab in it. Pass a tab or window context ID to choose the window, or omit it to close the active tab’s window.
Instructions
Close a whole window — every tab in it (BiDi browsingContext.close on a top-level context). Without a context it acts on the active tab is NOT what happens here: it closes the window that tab belongs to, so check first. browser_close_tab closes a single tab instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | A tab or window context id; the top-level window it belongs to is closed (default: active tab window) |