workspace_symbols
Search for symbols like functions, types, variables, and constants by name across the workspace or a single file, using the LSP index to return names, kinds, and source locations.
Instructions
Search for symbols (functions, types, variables, constants) by name or substring across the entire workspace — instant, uses the LSP index. Pass uri to restrict the search to that one document instead. Returns names, kinds, and source locations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | Optional: restrict the search to this ONE document (absolute path, file:// URI, or workspace-relative path). Omit it to search the whole workspace. | |
| query | No | Symbol name or substring to search for (case-insensitive) |