Labsco
microsoft logo

get-search-view-results

✓ Official10,000

by microsoft · part of microsoft/vscode-copilot-chat

Get the current search results from the Search view in VS Code

🔥🔥✓ VerifiedFreeQuick setup
🔒 Repo-maintenance skill. It exists to help maintain microsoft/vscode-copilot-chat itself — it's only useful if you contribute code to that project.

This is the playbook your agent receives when the skill activates — you don't need to read it to use the skill, but it's here to audit before installing.


name: get-search-view-results description: 'Get the current search results from the Search view in VS Code'

Getting Search View Results

  1. VS Code has a search view, and it can have existing search results.
  2. To get the current search results, you can use the VS Code command search.action.getSearchResults.
  3. Run that command via the copilot_runVscodeCommand tool. Make sure to pass the skipCheck argument as true to avoid checking if the command exists, as we know it does.