Purge Cache Tool
purge_cache_toolPurge cached content from Cloudflare's edge by files, tags, hosts, or prefixes, or purge everything to clear a zone.
Instructions
Purge cached content from Cloudflare's edge.
Use one of: purge_everything, files, tags, hosts, or prefixes. Every method works on every plan, Free included. Prefer hosts, prefixes, tags or files over purge_everything when only part of a zone is stale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Cache tags to purge | |
| files | No | URLs to purge (max 30) | |
| hosts | No | Hostnames to purge | |
| zone_id | Yes | Zone ID (32-character hex string) | |
| prefixes | No | URL prefixes to purge | |
| purge_everything | No | Purge all cached content |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||