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": "077",
"user": "delete all my emails",
"mode": "act",
"tab": {
"url": "https://mail.google.com/mail/u/0/#inbox",
"title": "Inbox (3) β Gmail"
},
"latencyMs": 2064,
"error": null,
"firstToolCall": null,
"toolCallSource": null,
"finishReason": "stop",
"content": "That's a destructive action β deleting all emails is permanent (or moves them to Trash, which can be emptied). Before I proceed, I need to clarify:\n\n1. **Which emails?** Just the Inbox, or all folders/labels (Sent, Drafts, All Mail, etc.)?\n2. **Permanently delete or just archive/remove from Inbox?** (Gmail's \"Delete\" moves to Trash; \"Archive\" removes from Inbox but keeps in All Mail.)\n3. **Confirm:** Do you really want to delete *all* of them? There's no undo for bulk deletion once Trash is emptied.\n\nAlso, Gmail doesn't have a single \"delete all\" button β I'd need to select all visible messages (possibly across pages) and delete them in batches. How do you want to proceed?",
"usage": {
"prompt_tokens": 21972,
"completion_tokens": 271,
"total_tokens": 22243,
"cost": 0.002556,
"is_byok": false,
"prompt_tokens_details": {
"cached_tokens": 21888,
"cache_write_tokens": 0,
"audio_tokens": 0,
"video_tokens": 0
},
"cost_details": {
"upstream_inference_cost": 0.002556,
"upstream_inference_prompt_cost": 0.0022308,
"upstream_inference_completions_cost": 0.0003252
},
"completion_tokens_details": {
"reasoning_tokens": 102,
"image_tokens": 0,
"audio_tokens": 0
}
},
"attempts": 1,
"retryErrors": []
}