Skip to content

Move ask_questions tool implementation into VS Code core #291349

Closed

Description

Per feedback in #291327, the ask_questions tool (question carousel) has tight coupling with UI and returns a value from ChatAgentResponseStream, which is contrary to the "stream" concept.

The tool should be implemented similar to the demo extension approach, with the implementation living in VS Code core rather than requiring the extension to await a response from the stream.

Related:

cc roblourens Harald Kirschner (@digitarald)

Activity

  1. roblourens commented on Jan 28, 2026

    @roblourens
    Member

    Thanks, I think tools with tight coupling to the VS Code UI should live in VS Code. Similar to the todo tool, terminal tool, etc. Will make things much easier for copilot!

  2. DonJayamanne commented on Feb 6, 2026

    @DonJayamanne
    Contributor

    estions tool (question carousel) has tight coupling with UI and returns a value from ChatAgentResponseStream, which is contrary to the "stream" concept.

    I guess we can have the results returned in the stream the same way we do with confirmation method on the stream.
    Karthik Nadig (@karthiknadig) this tool is already used in background agents, as Copilot CLI does support ask, hence we need a UI to present the information to the user and get their response,
    You can move the tools to core, but I would suggest leaving a method (simiarl method) on the stream that can be used to display the UI and then have the question results sent back the same way we already do with confirmation responses (via another request).

    I.e. please do not remove the ability for chat extension to send questions to core, as this is required for copilot CLI & Cluade as well
    TylerLeonhardt /cc

  3. TylerLeonhardt commented on Feb 6, 2026

    @TylerLeonhardt
    Member

    Yes, I am currently manually using the AskQuestion tool in Copilot Chat in Claude and that code will need to be updated to use the new tool in core when it moves over. It really should not be a lot of work to include that in this work so that we can clean up the old tool instance

  4. added
    feature-request
    on Feb 13, 2026
  5. added
    unreleased
    on Feb 19, 2026
  6. added
    insiders-released
    and removed
    unreleased
    on Feb 20, 2026
  7. locked and limited conversation to collaborators on Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

chat-askfeature-requestinsiders-releasedon-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions