workspace_symbols
Find symbols (functions, types, variables, constants) by name or substring across the workspace or within one document. Returns matching names, kinds, and source locations via the LSP index.
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) |