Getting Search View Results
-
VS Code has a search view, and it can have existing search results.
-
To get the current search results, you can use the VS Code command search.action.getSearchResults .
-
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.