Skip to content

Agent Host: Agent can't see images returned by Integrated Browser screenshots tool #315947

Description

To repro

  • Enable these settings:
"workbench.browser.agentHostChatToolsEnabled": true,
"workbench.browser.enableChatTools": true,
"chat.agentHost.enabled": true,
  • Start an Agent Host local session. (for verifier: if you don't know how to do that, follow this TPI)

  • Type the prompt:

Open apple.com, take a screenshot, and tell me the output of the screenshot tool

Important

NOTE added on May 14: Please make sure to use this exact same prompt, since if you don't ask explicitly about the output of the screenshot tool, it will hallucinate what it thinks is in the output based on the text-based ARIA snapshot provided by other browser tools.

  • 🐛 It says that the tool returned no output, despite the screenshot appearing in the chat:
Image

Activity

  1. added
    bug
    browser-integration
    agent-host
    on May 12, 2026
  2. connor4312 commented on May 12, 2026

    @connor4312
    Member

    This does seem to work for me:

    Image Image

    If you can run the "VS Code Agents" and "Attach to Agent Host" launch config, please capture

  3. added
    info-needed
    on May 12, 2026
  4. jruales commented on May 14, 2026

    @jruales
    ContributorAuthor

    Please make sure to use the exact same prompt I mentioned in the repro above, since if you don't ask explicitly about the output of the screenshot tool, it will hallucinate what it thinks is in the output based on the text-based ARIA snapshot provided by other browser tools.

    Image

    Compare with the output when using regular (non-agent-host) VS Code:

    Image
  5. connor4312 commented on May 14, 2026

    @connor4312
    Member

    Seems like it's an SDK issue, tracking in microsoft/copilot-sdk#1298

  6. added
    upstream
    and removed
    info-needed
    on May 14, 2026
  7. added this to the 1.121.0 milestone on May 14, 2026
  8. 9 remaining items

  9. removed
    insiders-released
    on May 18, 2026
  10. added a commit that references this issue on Jun 9, 2026
    8408349
  11. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Jun 9, 2026
  12. added
    verified
    and removed
    verification-found
    on Jun 16, 2026
  13. locked and limited conversation to collaborators on Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

agent-hostbrowser-integrationbuginsiders-releasedverified

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions