Catalog Lampa APIs and indexes
list_catalogRetrieve a catalog from the Lampa snapshot, filtered by topic and optional query. Use it to inspect API surfaces, events, storage keys, or components without searching or tracing symbols.
Instructions
Dump one static catalog from the Lampa snapshot per call. Not a query (search_code), not a single-symbol walk (trace_symbol), not written docs (explain_docs), and not a live CUB client (guide_cub).
scope applies only to api_surface/events/storage (default all); detail=true only affects events; query filters within the chosen topic — never a repo-wide search.
Example: topic=events query='player' detail=true. Empty catalog → markdown, not an error; on R2, full-tree events/storage need a prebuilt index — pass query or a narrower topic (e.g. maker, socket, flags, content_rows, favorites, mirrors) if the index is missing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Filter the chosen catalog only (not a repo-wide search): API module, event name, storage key, component name, flag keyword, or folder (for network). | |
| scope | No | For api_surface, events, storage: limit the tree. Default all. | |
| topic | Yes | Which catalog: api_surface | events | storage | network | settings | providers | maker | socket | activity | flags | content_rows | favorites | mirrors. | |
| detail | No | For topic=events: include per-file listener/emitter lists. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | Human-readable markdown report. Always present, including empty-result cases. Does not write files. |