Find Lampa files by name or feature
find_filesFind repository file paths by filename, feature, UI component, stylesheet, or spec. Pick a mode to narrow results to the relevant Lampa source files without searching file contents.
Instructions
Locate repo-relative paths by filename, Lampa feature, UI component, stylesheet, or spec — a path finder, not content grep. Unlike search_code, this matches names/paths (except mode=ui/styles, which also attach up to 20/15 content hits); unlike read_source, it does not return file bytes. Example: mode=feature query='player' uses the built-in feature map; mode=name query='full' ext='.js' filters by extension (ext ignored unless mode=name); empty matches → list, not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ext | No | For mode=name only: extension filter, e.g. '.js' or '.scss'. Ignored otherwise. | |
| mode | No | name (default)=filename substring; feature=built-in Lampa feature map + filename; ui=templates/components (+ up to 20 content hits); styles=css/scss (+ up to 15 content hits); tests=spec files. | |
| query | Yes | Filename substring (mode=name), feature name (mode=feature, e.g. player/catalog/iptv), UI component, style module, or spec keyword. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | Human-readable markdown report. Always present, including empty-result cases. Does not write files. |