Get Scaleway bucket CORS rules
scaleway_s3_get_bucket_corsRetrieve a bucket's CORS rules to inspect or validate cross-origin resource sharing settings. Returns an error when no CORS configuration exists, helping identify unconfigured buckets.
Instructions
Read a bucket's CORS rules. Errors with NoSuchCORSConfiguration if none are set.
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": {
"bucket": "<bucket>"
},
"name": "scaleway_s3_get_bucket_cors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Bucket name. | |
| region | No | Region to operate in. Defaults to the server's configured region (fr-par). |