ddb_clear_cache
Wipe in-process caches so the next call re-fetches from D&D Beyond. Use it when search results look like the SRD/Open5e fallback after login, forcing an immediate retry.
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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ddb_clear_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 and the subclass always-prepared spell lists. 'monsters' — monster stat-block cache, the full monster list, the game config, and the Open5e SRD creature data (including a remembered Open5e failure). 'all' — everything, including the library list, campaigns and Open5e responses. | spells |