set_domain_cache_policy
Configure or delete cache policy for a CDN domain by specifying path rules and policy IDs.
Instructions
设置域名缓存策略
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": {
"domain": "<domain>",
"cache_conf": "<cache_conf>"
},
"name": "set_domain_cache_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | 域名 | |
| cache_conf | Yes | 缓存配置 JSON 数组,如 [{"path":"/img/*","type":1,"policy_id":"xxx"}],设为 [] 表示删除自定义策略 |