Skip to content

fix(agents): remove invalid tool names across multiple agents 🤖🤖🤖#1384

Merged
aaronpowell merged 1 commit intogithub:stagedfrom
hddevteam:fix/invalid-tool-names-in-agents
Apr 14, 2026
Merged

fix(agents): remove invalid tool names across multiple agents 🤖🤖🤖#1384
aaronpowell merged 1 commit intogithub:stagedfrom
hddevteam:fix/invalid-tool-names-in-agents

Conversation

@hddevteam
Copy link
Copy Markdown
Contributor

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, or workflow file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, or workflow with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the staged branch for this pull request.

Description

Remove tool names that VS Code Copilot silently ignores because they do not exist in the current built-in tools reference. These invalid names are documented to be silently dropped, meaning agents using them are missing capabilities they expect to have.

Invalid tool names removed/replaced across 7 agent files:

Agent Invalid tools removed
context-architect codebase, terminalCommand → correct namespaced equivalents
debug web/githubRepo, bare search
implementation-plan think, search/changes, findTestFiles, search/searchResults, web/githubRepo, execute/runNotebookCell, read/getNotebookSummary, read/readNotebookCellOutput, bare search
janitor browser, microsoft.docs.mcp/*, read/getTaskOutput → moved to execute/ namespace
plan web/githubRepo, azure-mcp/search, search/searchResults
principal-software-engineer browser
specification changes, extensions, findTestFiles, githubRepo, new, openSimpleBrowser, problems, runCommands, runTasks, runTests, search/searchResults, testFailure, usages, vscodeAPI, microsoft.docs.mcp, github → correct namespaced equivalents

Related to: #1348 (same fix pattern applied to tdd/github-actions agents)


Type of Contribution

  • Update to existing instruction, prompt, agent, plugin, skill, or workflow.

Additional Notes

Reference: https://code.visualstudio.com/docs/copilot/reference/copilot-vscode-features#_chat-tools

Remove or replace tool names that VS Code Copilot silently ignores
because they do not exist in the current built-in tools reference.

Files changed:
- context-architect: 'codebase', 'terminalCommand' → proper namespaced tools
- debug: 'web/githubRepo', bare 'search' → remove/replace
- implementation-plan: 'think', 'search/changes', 'findTestFiles',
  'search/searchResults', 'web/githubRepo', 'execute/runNotebookCell',
  'read/getNotebookSummary', 'read/readNotebookCellOutput', bare 'search' → remove
- janitor: 'browser', 'microsoft.docs.mcp/*', 'read/getTaskOutput' →
  remove browser & mcp wildcard; move getTaskOutput to execute/ namespace
- plan: 'web/githubRepo', 'azure-mcp/search', 'search/searchResults' → remove
- principal-software-engineer: 'browser' → remove
- specification: old-style bare tool names → correct namespaced equivalents

Reference: https://code.visualstudio.com/docs/copilot/reference/copilot-vscode-features#_chat-tools
Copilot AI review requested due to automatic review settings April 13, 2026 07:10
@hddevteam hddevteam requested a review from aaronpowell as a code owner April 13, 2026 07:10
@github-actions
Copy link
Copy Markdown
Contributor

🔍 Skill Validator Results

8 resource(s) checked | ✅ All checks passed

Full output
No agents found in the specified paths: "/home/runner/work/awesome-copilot/awesome-copilot/agents/context-architect.agent.md", "/home/runner/work/awesome-copilot/awesome-copilot/agents/debug.agent.md", "/home/runner/work/awesome-copilot/awesome-copilot/agents/implementation-plan.agent.md", "/home/runner/work/awesome-copilot/awesome-copilot/agents/janitor.agent.md", "/home/runner/work/awesome-copilot/awesome-copilot/agents/plan.agent.md", "/home/runner/work/awesome-copilot/awesome-copilot/agents/principal-software-engineer.agent.md", "/home/runner/work/awesome-copilot/awesome-copilot/agents/specification.agent.md"

Note: Errors were found. These are currently reported as warnings and do not block merge. Please review and address when possible.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 updates several agent definitions to remove/replace tool names that are not recognized by the current VS Code Copilot built-in tools reference, so agents don’t silently lose expected capabilities.

Changes:

  • Updated tool allow-lists in 7 agent files, replacing legacy/unscoped tool names with namespaced equivalents (e.g., search/codebase, read/problems, execute/*, vscode/*).
  • Removed a handful of tool entries called out as invalid (e.g., browser, web/githubRepo, azure-mcp/search, notebook-related tool names).
  • Expanded context-architect’s tool list from two invalid placeholders to a full set of concrete tools.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
agents/specification.agent.md Replaces large legacy tool list with a smaller namespaced set.
agents/principal-software-engineer.agent.md Removes browser from the declared tools.
agents/plan.agent.md Removes web/githubRepo and azure-mcp/search from tools list.
agents/janitor.agent.md Removes invalid tools and moves getTaskOutput from read/ to execute/.
agents/implementation-plan.agent.md Removes multiple legacy/invalid tool names from the tools list.
agents/debug.agent.md Replaces bare search with search/codebase (+ keeps search/usages).
agents/context-architect.agent.md Replaces invalid placeholders with a fuller namespaced tools set.

Comment thread agents/plan.agent.md
Comment on lines 8 to 10
- read/problems
- azure-mcp/search
- search/searchResults
- search/usages
Comment thread agents/plan.agent.md
Comment on lines 4 to 8
tools:
- search/codebase
- vscode/extensions
- web/fetch
- web/githubRepo
- read/problems
Comment thread agents/janitor.agent.md
Comment on lines 3 to 5
name: 'Universal Janitor'
tools: [vscode/extensions, vscode/getProjectSetupInfo, vscode/installExtension, vscode/newWorkspace, vscode/runCommand, vscode/vscodeAPI, execute/getTerminalOutput, execute/runTask, execute/createAndRunTask, execute/runTests, execute/runInTerminal, execute/testFailure, read/terminalSelection, read/terminalLastCommand, read/getTaskOutput, read/problems, read/readFile, browser, 'github/*', 'microsoft.docs.mcp/*', edit/editFiles, search, web]
tools: [vscode/extensions, vscode/getProjectSetupInfo, vscode/installExtension, vscode/newWorkspace, vscode/runCommand, vscode/vscodeAPI, execute/getTerminalOutput, execute/runTask, execute/createAndRunTask, execute/runTests, execute/runInTerminal, execute/testFailure, execute/getTaskOutput, read/terminalSelection, read/terminalLastCommand, read/problems, read/readFile, 'github/*', edit/editFiles, search, web]
---
Comment on lines 2 to +4
description: 'Generate or update specification documents for new or existing functionality.'
name: 'Specification'
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'web/fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'microsoft.docs.mcp', 'github']
tools: ['search/codebase', 'search/usages', 'edit/editFiles', 'vscode/extensions', 'web/fetch', 'vscode/openSimpleBrowser', 'read/problems', 'execute/runTests', 'read/terminalLastCommand', 'read/terminalSelection', 'execute/testFailure', 'vscode/vscodeAPI']
@aaronpowell aaronpowell merged commit 3fc2cef into github:staged Apr 14, 2026
13 of 14 checks passed
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.

3 participants