Close all agent tabs
browser_close_all_tabsClose all tabs opened by the agent and remove its tab group, releasing user-owned tabs unchanged. Call when finished to avoid leaving empty groups; also runs automatically at session end.
Instructions
Close every tab the agent opened and remove its tab group. Tabs taken over with browser_use_tab are released back to the user, not closed. Call this when finished with the browser so no empty group is left in the user's tab strip. The MCP process also runs this automatically when the Computer Use session ends. Unsaved state in the agent's tabs is lost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Stable task or thread ID. Pass the same value on every browser call for this task. Different IDs isolate tabs and cleanup within one MCP process. Omit for the default process session. |