bucket_acl_set
Replace a bucket's access control list with a canned ACL or explicit grants, then return the new ACL. Requires confirm=true.
Instructions
Replace a bucket's ACL with a canned_acl (private, public-read, public-read-write, authenticated-read) or explicit grants ({"permission", and one of "id", "uri", "email"}), and return the new ACL. Trial accounts and accounts created after 2023-03-13 can't make buckets public. Needs confirm=true.
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": "bucket_acl_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | ||
| grants | No | ||
| region | No | ||
| confirm | No | ||
| canned_acl | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||