Cloudflare: Purge cache
cloudflare_purge_cachePurge Cloudflare cached content for a zone by clearing everything, specific URLs, cache tags, or URL prefixes so updated content is served on the next request.
Instructions
[UNIFIED] Purge cached content for a zone. Requires the token's Cache Purge permission. Provide exactly one strategy: purge_everything (all cached content), files (specific URLs), tags (cache tags), or prefixes (URL prefixes). Impact is temporary — cache rebuilds on next requests.
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": {
"site": "<site>",
"zone_id": "<zone_id>"
},
"name": "cloudflare_purge_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| tags | No | ||
| files | No | ||
| zone_id | Yes | ||
| prefixes | No | ||
| purge_everything | No |