project_query
Answer where code is defined or what handles a behavior by returning ranked code locations with path:line headers, call outlines, and numbered source lines; use JSON for programs.
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). |