compendium-browse
Browse the contents of a compendium pack (monsters, items, spells…); compendium-list gives the packId. types selects subtypes (["spell"]); ids BATCH-fetches specific documents in one call — every item a class grants, from uuid-resolve output — instead of N compendium-document-get calls; types+ids combine with AND. For stat filters (CR, level, rarity, traits, price) use dnd5e-compendium-filter-* / pf2e-compendium-filter-*.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"packId": "<packId>"
},
"name": "compendium-browse"
}
}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) |