Close all agent tabs
browser_close_all_tabsCloses all agent-opened tabs, including those opened by its clicks, and removes the agent's tab group so the user's tab strip is left clean. Released tabs remain with the user.
Instructions
Close every tab the agent opened, including tabs its clicks 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, so hand a tab the user should keep to them with browser_release_tab first. Unsaved state in the agent's tabs is lost.
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_close_all_tabs"
}
}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. |