bunny_create_pull_zone
Create a CDN pull zone to cache and deliver content from an origin URL or Bunny storage zone, assigning a default b-cdn.net hostname for immediate use.
Instructions
Create a new CDN pull zone. The pull zone gets a default hostname (name.b-cdn.net) and caches content from the specified origin_url. Alternatively, set storage_zone_id to use a bunny.net storage zone as origin.
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": {
"name": "<name>",
"origin_url": "<origin_url>"
},
"name": "bunny_create_pull_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Pull zone name (used in the b-cdn.net subdomain) | |
| type | No | Pull zone type: 0=Premium, 1=Volume. Default: 0 | |
| origin_url | Yes | Origin server URL to pull content from | |
| storage_zone_id | No | Storage Zone ID to use as origin instead of origin_url |