Skip to content

enable askQuestions to be invoked by subagent - #296361

Merged
Megan Rogge (meganrogge) merged 1 commit into
mainfrom
merogge/subagent
Feb 19, 2026
Merged

Megan Rogge (meganrogge) merged 1 commit into
mainfrom
merogge/subagent

Conversation

@meganrogge

Copy link
Copy Markdown
Collaborator

fixes #293745

Now that this is in core, we can let subagents call it

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables subagents to use the new core askQuestions tool (vscode_askQuestions) by removing the restriction that previously prevented it from being called by subagents. This fixes issue #293745 where subagents could not use the askQuestions functionality.

Changes:

  • Removed the import of AskQuestionsToolId from askQuestionsTool.ts
  • Removed the line that disabled vscode_askQuestions (via AskQuestionsToolId) for subagent mode tools
  • The older copilot_askQuestions remains disabled for subagents, while the new core version is now enabled

@meganrogge
Megan Rogge (meganrogge) merged commit 9bf4d91 into main Feb 19, 2026
23 checks passed
@meganrogge
Megan Rogge (meganrogge) deleted the merogge/subagent branch February 19, 2026 21:09
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Apr 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Subagents can't use askQuestions tool

3 participants