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": 6724,
"error": null,
"firstToolCall": null,
"toolCallSource": null,
"finishReason": "stop",
"content": "\n\nI can't directly close other tabs since I don't have access to tab management tools β I can only interact with the current tab. However, here are quick ways you can close all other tabs yourself:\n\n**Keyboard shortcuts:**\n- **Windows/Linux:** `Ctrl + W` repeatedly until only one tab remains\n- **Mac:** `Cmd + W` repeatedly\n\n**Right-click method:**\n- Right-click on the tab bar β choose **\"Close other tabs\"** (available in Chrome, Edge, Firefox)\n\n**Shift-click method (Chrome/Edge):**\n- `Shift + right-click` a tab β \"Close other tabs\"\n\nSince I can only work within this single tab, you'll need to use one of these built-in browser features to close the rest. Would you like me to help you with anything else on this page?",
"usage": {
"prompt_tokens": 8995,
"completion_tokens": 245,
"total_tokens": 9240,
"cost": 0.00062125,
"is_byok": false,
"prompt_tokens_details": {
"cached_tokens": 0,
"cache_write_tokens": 0,
"audio_tokens": 0,
"video_tokens": 0
},
"cost_details": {
"upstream_inference_cost": 0.00062125,
"upstream_inference_prompt_cost": 0.00044975,
"upstream_inference_completions_cost": 0.0001715
},
"completion_tokens_details": {
"reasoning_tokens": 70,
"image_tokens": 0,
"audio_tokens": 0
}
},
"attempts": 1,
"retryErrors": []
}