Catalog Lampa APIs and indexes
list_catalogDump a selected Lampa catalog (API surface, events, storage, network, settings, providers, or other topics) as markdown for one snapshot, with optional substring filtering and event detail.
Instructions
Dump one static catalog from the Lampa snapshot per call. Returns markdown text, not JSON, with no performance cost beyond one tree walk. 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 is a plain substring filter (module name, event name, storage key, component name, flag keyword, or network folder) 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. |