Skip to content

Commit 3fc2cef

Browse files
hddevteamMing
andauthored
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>
1 parent dd3bce4 commit 3fc2cef

File tree

7 files changed

+6
-8
lines changed

7 files changed

+6
-8
lines changed

β€Žagents/context-architect.agent.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: 'An agent that helps plan and execute multi-file changes by identifying relevant context and dependencies'
33
model: 'GPT-5'
4-
tools: ['codebase', 'terminalCommand']
4+
tools: ['search/codebase', 'search/usages', 'read/problems', 'read/readFile', 'edit/editFiles', 'execute/runInTerminal', 'execute/getTerminalOutput', 'web/fetch']
55
name: 'Context Architect'
66
---
77

β€Žagents/debug.agent.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: 'Debug your application to find and fix a bug'
33
name: 'Debug Mode Instructions'
4-
tools: ['edit/editFiles', 'search', 'execute/getTerminalOutput', 'execute/runInTerminal', 'read/terminalLastCommand', 'read/terminalSelection', 'search/usages', 'read/problems', 'execute/testFailure', 'web/fetch', 'web/githubRepo', 'execute/runTests']
4+
tools: ['edit/editFiles', 'search/codebase', 'search/usages', 'execute/getTerminalOutput', 'execute/runInTerminal', 'read/terminalLastCommand', 'read/terminalSelection', 'read/problems', 'execute/testFailure', 'web/fetch', 'execute/runTests']
55
---
66

77
# Debug Mode Instructions

β€Žagents/implementation-plan.agent.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: "Generate an implementation plan for new features or refactoring existing code."
33
name: "Implementation Plan Generation Mode"
4-
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"]
4+
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"]
55
---
66

77
# Implementation Plan Generation Mode

β€Žagents/janitor.agent.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: 'Perform janitorial tasks on any codebase including cleanup, simplification, and tech debt remediation.'
33
name: 'Universal Janitor'
4-
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]
4+
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]
55
---
66
# Universal Janitor
77

β€Žagents/plan.agent.mdβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ tools:
55
- search/codebase
66
- vscode/extensions
77
- web/fetch
8-
- web/githubRepo
98
- read/problems
10-
- azure-mcp/search
119
- search/searchResults
1210
- search/usages
1311
- vscode/vscodeAPI

β€Žagents/principal-software-engineer.agent.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: 'Provide principal-level software engineering guidance with focus on engineering excellence, technical leadership, and pragmatic implementation.'
33
name: 'Principal software engineer'
4-
tools: ['agent', 'browser', 'edit', 'execute', 'github/*', 'read', 'search', 'todo', 'vscode', 'web/fetch']
4+
tools: ['agent', 'edit', 'execute', 'github/*', 'read', 'search', 'todo', 'vscode', 'web/fetch']
55
---
66
# Principal software engineer mode instructions
77

β€Žagents/specification.agent.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: 'Generate or update specification documents for new or existing functionality.'
33
name: 'Specification'
4-
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']
4+
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']
55
---
66
# Specification mode instructions
77

0 commit comments

Comments
Β (0)