Purge Cache
purge_cacheClear Cloudflare cached content for a zone. Remove specific URLs or the entire cache to force fresh responses from the origin.
Instructions
Purge Cloudflare cache 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 |
|---|---|---|---|
| urls | No | Specific URLs to purge (up to 30 per call) | |
| zone_id | Yes | Cloudflare zone ID | |
| purge_everything | No | Purge entire zone cache (overrides urls). Requires CF_ALLOW_DESTRUCTIVE=true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||