Open-source AI browser agent for Chrome and Firefox (monorepo) π§
JavaScript ai-agentai-agentsai-toolsbrowser-aibrowser-automationbrowser-extensionchrome-aichrome-devtoolschrome-extensionchrome-extensionsfirefox-addonfirefox-addonsfirefox-extensionfirefox-extensionsgemmagemma4minimaxoffline-aioffline-llmqwen
{
"id": "080",
"user": "close all my tabs except this one",
"mode": "act",
"tab": {
"url": "about:home",
"title": "New Tab"
},
"latencyMs": 12802,
"error": null,
"firstToolCall": null,
"toolCallSource": null,
"finishReason": "stop",
"content": "I can't close your other browser tabs β browser extensions (including me) don't have access to Chrome's tab management, so there's no tool available to me that can close tabs. This is a hard limitation of the extension environment, not something I can work around.\n\nHere's how you can do it quickly yourself:\n\n- **Close all other tabs at once:** Right-click the tab you want to keep β **\"Close other tabs\"** (this closes everything except the current tab in one click).\n- **Close tabs to the right:** Right-click a tab β **\"Close tabs to the right\"** if you only want to clear the ones after a certain point.\n- **Keyboard shortcut:** `Ctrl+W` (Windows/Linux) or `Cmd+W` (Mac) closes the current tab one at a time β not ideal for many tabs.\n\nThe right-click β \"Close other tabs\" option is the fastest way to get exactly what you want. Sorry I can't do it directly for you!",
"usage": {
"prompt_tokens": 16570,
"completion_tokens": 205,
"total_tokens": 16775
},
"attempts": 1,
"retryErrors": []
}