Warm up CDN cache
warmup_cachePre-fetch specified paths into the CDN cache to reduce origin load and improve response times. Optionally target a compression method when enabled.
Instructions
Pre-fetch (warm up) content into the aCDN resource cache for the given paths, optionally per compression method.
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": {
"resource_id": "<resource_id>",
"paths": "<paths>"
},
"name": "warmup_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Paths to warm up, e.g. ['/video/intro.mp4'] | |
| resource_id | Yes | aCDN resource (pull zone) ID | |
| compression_methods | No | Compression variant to warm (must be enabled on the resource) |