compendium-browse
Browse the contents of a compendium pack. Lists documents (monsters, items, spells, etc.) in the compendium. Use compendium-list first to find the packId. Use types to select only given subtypes (e.g. ["spell"]), and ids to BATCH-fetch specific documents in one call — e.g. every item a class grants, taken from uuid-resolve output — instead of N compendium-document-get calls. types+ids combine with AND. On bridge module 8.11.0+ the selection happens inside Foundry; on older modules the full pack is fetched and the same selection is applied gateway-side. Paginate with limit (default 50, max 200) and offset. For structured stat filters (CR, level, rarity, traits, price...) prefer dnd5e-compendium-filter-* / pf2e-compendium-filter-* instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Only documents with these _id values — batch selection. Omit for all. | |
| limit | No | Page size, default 50, max 200. | |
| types | No | Only documents of these SUBtypes, e.g. ["spell"] or ["weapon","armor"]. Omit for all. | |
| offset | No | Skip the first N matching documents. | |
| packId | Yes | The compendium pack ID (e.g., "dnd5e.monsters", "dnd5e.items") | |
| search | No | Optional search query to filter documents by name (case-insensitive) |