query_symbols
Search for code symbols by name using fuzzy matching to analyze function, class, and variable relationships within codebases.
Instructions
Search for symbols by name or qualified name using fuzzy trigram matching. Replaces 10+ grep calls. Returns symbol kind, file path, fan-in/out, semantic role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot_id | Yes | Snapshot ID to query against | |
| q | Yes | Fuzzy search query (symbol name or qualified name) | |
| kind | No | Filter by symbol kind | |
| role | No | Filter by semantic role slug (e.g. "service", "repository") | |
| limit | No | Max results to return (default 50) |