Skip to content

Subagents can't use askQuestions tool #293745

Closed

Description

@XxRmotion

Info

  • Copilot Chat Extension Version: 0.37.1
  • VS Code Version: 1.109.0 (user setup)
  • OS Version: Windows_NT x64 10.0.22631

Steps to Reproduce

1. Create 2 simple agents:

---
name: agent1
tools: ['agent']
agents: ["agent2"]
---
You must do EXACTLY as listed below and nothing else:
1. Use the #tool:agent to call `agent2` with the input "Execute the task from your instructions".
2. Output the response from `agent2`.
---
name: agent2
tools: ['vscode/askQuestions']
---
You must do EXACTLY as listed below and nothing else:
1. Use the #tool:vscode/askQuestions to ask the user "What programming language should we use?". You must not stop. Use the tool.
2. Return the user's response as the output.

2. Run agent2 to see that it works and uses the tool properly.

3. Run agent1 to see the following results for different models:

Simply outputted the question directly, without using the tool:

  • gpt-5.2-codex
  • gpt-5-mini
  • grok-code-fast-1

less relevant:
Did not call the subagents tool, read the agent2 sysem prompt file and asked the question directly:

  • claude-haiku-4.5

Response was: "FAILED: Server error. Stream terminated" from the subagent tool call:

  • gemini-3-flash-preview
requestType      : ChatCompletions
model            : gemini-3-flash-preview
maxPromptTokens  : 108801
maxResponseTokens: 64000
location         : 7
otherOptions     : {"temperature":0,"stream":true}
intent           : undefined
startTime        : 2026-02-08T09:50:13.889Z
endTime          : 2026-02-08T09:50:19.001Z
duration         : 5112ms
ourRequestId     : e3c2b0f1-eff7-4a18-9e91-cadcf1c5f62b
requestId        : e3c2b0f1-eff7-4a18-9e91-cadcf1c5f62b
serverRequestId  : e3c2b0f1-eff7-4a18-9e91-cadcf1c5f62b

Additional info

The options to use the askQuestions tool and call custom subagents were enabled.

Activity

  1. added
    chat-ext-issue
    on Feb 8, 2026
  2. removed
    chat-ext-issue
    on Feb 8, 2026
  3. added
    feature-request
    on Feb 19, 2026
  4. meganrogge commented on Feb 19, 2026

    @meganrogge
    Collaborator

    related #291349

  5. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Feb 19, 2026
  6. removed their assignment
    on Feb 23, 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