cf_purge_cache
Purge CloudFlare cache for a specified zone, including all cache, specific files, tags, or hostnames.
Instructions
Purge CloudFlare cache
Args: zone_id: CloudFlare zone ID purge_everything: Purge all cache (use carefully) files: List of specific URLs to purge tags: List of cache tags to purge hosts: List of hostnames to purge
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": "cf_purge_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | ||
| purge_everything | No | ||
| files | No | ||
| tags | No | ||
| hosts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |