ncloud_ncs_put_bucket_cors
Replace the CORS configuration of a Naver Cloud Storage bucket with up to 100 rules, defining allowed origins, methods, headers, and preflight cache duration.
Instructions
[Ncloud Storage] Set the CORS configuration of a Ncloud Storage bucket (PUT /?cors). Replaces the whole configuration. Up to 100 rules; each needs at least one AllowedOrigin and one AllowedMethod; one '*' wildcard per origin/header item; ExposeHeader does not allow wildcards.
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": {
"bucketName": "<bucketName>",
"corsRules": "<corsRules>"
},
"name": "ncloud_ncs_put_bucket_cors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| corsRules | Yes | CORS rules to apply to the bucket | |
| bucketName | Yes | Name of the bucket to set CORS configuration for |