refresh_collection_cache
Flushes Directus server cache after schema changes so new collections or fields become visible, then optionally checks that a specified collection is readable.
Instructions
Flushes the Directus server cache so recent schema changes become visible, then optionally verifies that one collection is readable. Use it after create_collection, create_field or apply_schema when a collection or field is reported as missing; validate_collection_creation answers the narrower question of whether a new collection is ready. Mutating but not destructive: it discards cached data, never stored data, though the next requests are slower while the cache refills. Needs a token allowed to flush the cache, and it affects every client of the instance, not just this session.
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": "refresh_collection_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | No | Specific collection to verify after refresh |