Code: search workspace
code_search_workspaceSearches the current VS Code workspace by entering a query into the open Search view, returning results from VS Code's native search.
Instructions
Type a query into the workspace search box. The Search view must already be open (call code_show_search first); results populate as VS Code's own search runs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "code_search_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text to search the workspace for. |