Query Entities
query_entitiesFind functions, classes, and routes by name, architectural layer, or module, returning matching symbols with type, file, and layer. Use it instead of text grep to locate code by purpose.
Instructions
Like grep but for code structure. Find functions, classes, and routes by name, architectural layer (route/service/component), or module. Returns matching symbols with their type, file, and layer — use this instead of grep when you need to find code by what it does, not by text content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Filter by architectural layer: route, controller, service, repository, utility, hook, component, schema | |
| limit | No | Max results to return (default: 50) | |
| query | No | Search term — matches against symbol name, ID, source file, and module | |
| module | No | Filter by module (partial match) | |
| project | No | Project name (required in multi-project mode). Use list_projects to see available projects. | |
| language | No | Filter by source language: javascript, typescript, python, go, rust, etc. |