project_query
Queries an indexed repository to locate code for architecture, impact, tracing, or log questions, returning ranked path:line leads in text or JSON.
Instructions
Where is X / what handles Y: ranked code locations as plain text (path:lines headers, call outlines, numbered source lines; up to 6000 chars, truncation stated). format='json' for programs. Hits are leads, not verified claims.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 'text' (default): plain text for reading, skeleton first; 'json': structured items. | text |
| question | Yes | Question, symbol or file names to look up; filters narrow it: path:GLOB lang: symbol: is:vendored /regex/ AND OR NOT. | |
| max_items | No | Maximum code locations to return (1-25). |