ncloud_edge_purge
Purge cached content on a Global Edge CDN edge by invalidating all files, directories, URL patterns, or specific URLs, and return a purge request ID to track the operation.
Instructions
Run a cache purge (invalidation) on a Global Edge CDN edge. Supports purging all content, by directory, pattern, or specific URLs. Returns a purge request ID (check with ncloud_edge_get_purge_request).
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": {
"edgeId": "<edgeId>",
"purgeType": "<purgeType>"
},
"name": "ncloud_edge_purge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edgeId | Yes | Edge ID to purge cache for | |
| purgeType | Yes | Purge type: ALL (purge everything), DIRECTORY (by directory path), PATTERN (directory + extension), URL (specific files) | |
| purgeTarget | No | Purge target list (omit for ALL type). DIRECTORY: /path/*, PATTERN: /path/*.ext, URL: /path/file.ext |