cdn_refresh
Refresh or preheat Tencent Cloud CDN cache by specifying URLs or directory paths. Use type 'url' for exact URLs or 'path' for directories, ensuring directory paths end with '/'.
Instructions
刷新或预热腾讯云 CDN 缓存。type=url 刷新指定 URL;type=path 刷新指定目录(每个路径必须以 / 结尾,否则校验失败)
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": {
"urls": "<urls>",
"type": "<type>"
},
"name": "cdn_refresh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 刷新类型: url(刷新指定 URL) 或 path(刷新指定目录,路径须以 / 结尾) | |
| urls | Yes | 要刷新的 URL 或目录路径列表,例如 ["https://example.com/a.css"] 或 ["https://example.com/path/"] |