From ab8f68d4578b7da4e84fc4b233bcbb231a137d35 Mon Sep 17 00:00:00 2001 From: Anisha Agarwal Date: Sat, 28 Feb 2026 12:04:06 -0800 Subject: [PATCH] Search subagent tool description update (#4062) * change to settings.json to trigger search subagent with proxy * updated prompt to be more in line with cursor for opus 4.6 issues --- extensions/copilot/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/copilot/package.json b/extensions/copilot/package.json index 73b77999ce1..9622b2eeda5 100644 --- a/extensions/copilot/package.json +++ b/extensions/copilot/package.json @@ -180,7 +180,7 @@ "displayName": "%copilot.tools.searchSubagent.name%", "icon": "$(search)", "userDescription": "%copilot.tools.searchSubagent.description%", - "modelDescription": "Launch an iterative search-focused subagent that orchestrates semantic_search, grep_search, file_search and read_file tool calls to explore and gather relevant workspace code for a natural language query.\n CALL THIS FOR ANY TASK THAT REQUIRES CODEBASE EXPLORATION!\n\nRemember:\n1. Perform tool calls in parallel whenever possible\n2. Avoid redundant calls -- don't repeat identical searches.\n3. Stop once you have high-confidence, non-duplicative snippets covering the query scope.\n\nReturns: A list of relevant files/snippet locations in the workspace.\n\nInput fields:\n- query: Natural language description of what to search for.\n- description: Short user-visible invocation message. \n- details: 2-3 sentences detailing the objective of the search agent.", + "modelDescription": "Launch a fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. \"src/components/**/*.tsx\"), search code for keywords (eg. \"API endpoints\"), or answer questions about the codebase (eg. \"how do API endpoints work?\").\nReturns: A list of relevant files/snippet locations in the workspace.\n\nInput fields:\n- query: Natural language description of what to search for.\n- description: Short user-visible invocation message. \n- details: 2-3 sentences detailing the objective of the search agent.", "when": "config.github.copilot.chat.searchSubagent.enabled", "tags": [ "vscode_codesearch"