ddb_clear_cache
Clears cached D&D Beyond data so the next call re-fetches live info. Fixes stale SRD fallback results (e.g., missing 2024 cantrips) after login.
Instructions
Wipe in-process caches so the next call re-fetches from D&D Beyond. Use this when search results look like the SRD/Open5e fallback (e.g. 2024 cantrips missing from spell results) after you've logged in — the partial compendium build is cached for up to 5 minutes and this forces an immediate retry. cache='spells' (default) clears just the spell/reference compendium; 'all' wipes every cache.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache | No | Which cache to clear. 'spells' (default) — the spell / equipment / races / classes / feats compendium. 'characters' — character JSON cache. 'monsters' — monster stat-block cache. 'all' — everything, including campaigns and Open5e responses. | spells |