purge_cache
Clear cached content for a Cloudflare zone by URL, cache tag, or all at once to remove stale assets after updates.
Instructions
Purge cached content for a zone
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": {
"zone_id": "<zone_id>"
},
"name": "purge_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Array of cache tags to purge | |
| files | No | Array of URLs to purge | |
| zone_id | Yes | The zone ID | |
| purge_everything | No | Purge all cached content |