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": "055",
"user": "download this instagram post",
"mode": "act",
"tab": {
"url": "https://www.instagram.com/p/CxAbcExample/",
"title": "Photo β Instagram"
},
"latencyMs": 10857,
"error": null,
"firstToolCall": null,
"toolCallSource": null,
"finishReason": "stop",
"content": "The user wants me to download an Instagram post from the URL https://www.instagram.com/p/CxAbcExample/. \n\nLooking at the site guidance provided, there are several important points:\n- \"Add to story / Add to post\" actions require the mobile app for most content types β surface the limitation.\n- \"Saving images / videos directly is blocked by the UI. If the user asks to download, use an enabled media download skill tool such as `download_public_media` first; otherwise use `download_social_media`.\"\n\nThe user is asking me to \"download this instagram post\". According to the guidance, I should use a media download skill tool. The options are:\n- `download_public_media` - for public media\n- `download_social_media` - for social media\n\nSince this is an Instagram post, I should use `download_social_media`.\n\nHowever, I need to check if this tool is available in my toolset. Looking at the list of tools provided at the beginning, I don't see `download_public_media` or `download_social_media` in the available tools.\n\nThe available tools are:\n- get_accessibility_tree\n- click_ax\n- set_field\n- set_checked\n- type_ax\n- find_text\n- press_keys\n- scroll\n- navigate\n- read_page\n- get_window_info\n- inspect_viewport\n- extract_data\n- wait_for_element\n- click\n- fetch_url\n- upload_file\n- navigate (duplicate)\n- read_page (duplicate)\n- get_accessibility_tree (duplicate)\n- etc.\n\nI don't see any download-related tools in the available list. The tools are focused on reading, interacting with, and extracting data from web pages - not downloading media files.\n\nGiven this constraint, I cannot actually download the Instagram post using the available tools. I should inform the user that this capability is not available through the current toolset.\n\nHowever, let me reconsider. The user might expect me to use some tool that can download media. But looking at the strict list of tools, there is no download function.\n\nI should be honest with the user about this limitation. I cannot download the Instagram post because the necessary tool is not available in my current environment.\n\nActually, wait - I should double-check if there's any way to get the content of the Instagram post through the available tools. The `read_page` tool might be able to fetch the page content, but it wouldn't allow downloading the image/video itself.\n\nThe guidance also mentions: \"Saving images / videos directly is blocked by the UI. If the user asks to download, use an enabled media download skill tool such as `download_public_media` first; otherwise use `download_social_media`.\"\n\nThis suggests that there should be a way to download, but the tool isn't available in my current set. I need to inform the user that I cannot perform this action with the available tools.\n\nLet me craft a response that:\n1. Acknowledges the request to download the Instagram post\n2. Explains that the necessary download tool is not available in the current environment\n3. Suggests alternative approaches if possible (like reading the page content, but noting that downloading the actual image/video is not supported)\n\nActually, I should be careful not to make assumptions about capabilities that aren't confirmed. The safest approach is to state clearly that the download functionality is not available through the current toolset.</think>I'm unable to download the Instagram post directly. The available toolset doesn't include any media download capabilities (such as `download_public_media` or `download_social_media`).\n\nHere's what I can do instead:\n\n1. **Read the page content** - I can fetch the Instagram post page and extract the visible text (title, caption, etc.) for you.\n\n2. **Provide guidance** - Based on the site guidance you shared, I can explain the limitations around downloading content from Instagram (e.g., \"Add to story\" actions require the mobile app, and saving images/videos directly is blocked by the UI).\n\nWould you like me to read the Instagram post page and extract the available content for you?",
"usage": {
"prompt_tokens": 10043,
"total_tokens": 10920,
"completion_tokens": 877,
"prompt_tokens_details": null
},
"attempts": 1,
"retryErrors": []
}