Skip to content

Support search and web tools in Copilot custom-agent subagents - #347181

Draft
Martin Aeschlimann (aeschli) with Copilot wants to merge 2 commits into
mainfrom
copilot/custom-agent-tool-access-bug
Draft

Martin Aeschlimann (aeschli) with Copilot wants to merge 2 commits into
mainfrom
copilot/custom-agent-tool-access-bug

Conversation

Copilot AI commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Description

Copilot custom agents could lose search and web capabilities when run as subagents because their frontmatter group aliases were passed to the SDK as tool names.

  • Expand aliases: Map search and web to the corresponding registered SDK tools at launch.
  • Preserve references: Keep existing explicit and extension-qualified tool remapping.
  • Regression coverage: Verify alias expansion alongside explicit tool references.

For example, tools: [search, web] now resolves to grep, rg, glob, web_fetch, and web_search.

Copilot AI balanced review requested due to automatic review settings November 9, 2026 21:22

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.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Co-authored-by: aeschli <6461412+aeschli@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix custom agent access to tools in subagent execution Support search and web tools in Copilot custom-agent subagents Nov 9, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom agent does not have access to the tools configured in YAML frontmatter when executed as subagent

3 participants