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

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

Co-authored-by: Ming <oncwnuAUeYAFR4UGlq8BEJq8Jy-k@git.weixin.qq.com>
This commit is contained in:
ming
2026-04-14 08:41:00 +08:00
committed by GitHub
parent dd3bce4417
commit 3fc2cef781
7 changed files with 6 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
---
description: 'An agent that helps plan and execute multi-file changes by identifying relevant context and dependencies'
model: 'GPT-5'
tools: ['codebase', 'terminalCommand']
tools: ['search/codebase', 'search/usages', 'read/problems', 'read/readFile', 'edit/editFiles', 'execute/runInTerminal', 'execute/getTerminalOutput', 'web/fetch']
name: 'Context Architect'
---

View File

@@ -1,7 +1,7 @@
---
description: 'Debug your application to find and fix a bug'
name: 'Debug Mode Instructions'
tools: ['edit/editFiles', 'search', 'execute/getTerminalOutput', 'execute/runInTerminal', 'read/terminalLastCommand', 'read/terminalSelection', 'search/usages', 'read/problems', 'execute/testFailure', 'web/fetch', 'web/githubRepo', 'execute/runTests']
tools: ['edit/editFiles', 'search/codebase', 'search/usages', 'execute/getTerminalOutput', 'execute/runInTerminal', 'read/terminalLastCommand', 'read/terminalSelection', 'read/problems', 'execute/testFailure', 'web/fetch', 'execute/runTests']
---
# Debug Mode Instructions

View File

@@ -1,7 +1,7 @@
---
description: "Generate an implementation plan for new features or refactoring existing code."
name: "Implementation Plan Generation Mode"
tools: ["search/codebase", "search/usages", "vscode/vscodeAPI", "think", "read/problems", "search/changes", "execute/testFailure", "read/terminalSelection", "read/terminalLastCommand", "vscode/openSimpleBrowser", "web/fetch", "findTestFiles", "search/searchResults", "web/githubRepo", "vscode/extensions", "edit/editFiles", "execute/runNotebookCell", "read/getNotebookSummary", "read/readNotebookCellOutput", "search", "vscode/getProjectSetupInfo", "vscode/installExtension", "vscode/newWorkspace", "vscode/runCommand", "execute/getTerminalOutput", "execute/runInTerminal", "execute/createAndRunTask", "execute/getTaskOutput", "execute/runTask"]
tools: ["search/codebase", "search/usages", "vscode/vscodeAPI", "read/problems", "execute/testFailure", "read/terminalSelection", "read/terminalLastCommand", "vscode/openSimpleBrowser", "web/fetch", "vscode/extensions", "edit/editFiles", "vscode/getProjectSetupInfo", "vscode/installExtension", "vscode/newWorkspace", "vscode/runCommand", "execute/getTerminalOutput", "execute/runInTerminal", "execute/createAndRunTask", "execute/getTaskOutput", "execute/runTask"]
---
# Implementation Plan Generation Mode

View File

@@ -1,7 +1,7 @@
---
description: 'Perform janitorial tasks on any codebase including cleanup, simplification, and tech debt remediation.'
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]
---
# Universal Janitor

View File

@@ -5,9 +5,7 @@ tools:
- search/codebase
- vscode/extensions
- web/fetch
- web/githubRepo
- read/problems
- azure-mcp/search
- search/searchResults
- search/usages
- vscode/vscodeAPI

View File

@@ -1,7 +1,7 @@
---
description: 'Provide principal-level software engineering guidance with focus on engineering excellence, technical leadership, and pragmatic implementation.'
name: 'Principal software engineer'
tools: ['agent', 'browser', 'edit', 'execute', 'github/*', 'read', 'search', 'todo', 'vscode', 'web/fetch']
tools: ['agent', 'edit', 'execute', 'github/*', 'read', 'search', 'todo', 'vscode', 'web/fetch']
---
# Principal software engineer mode instructions

View File

@@ -1,7 +1,7 @@
---
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']
---
# Specification mode instructions