bucket_compliance_set
Set a bucket's Wasabi compliance policy to enforce retention across all objects; specify retention days and lock time, and use confirm=true to apply lock settings.
Instructions
Set a bucket's Wasabi compliance policy, which applies at once to every object: retention_days is required, and lock_time is an ISO date, "now" or "off". Once locked, the settings can't be reduced without Wasabi Support (ComplianceSettingsLocked); 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>",
"enabled": "<enabled>",
"retention_days": "<retention_days>"
},
"name": "bucket_compliance_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | ||
| region | No | ||
| confirm | No | ||
| enabled | Yes | ||
| lock_time | No | ||
| retention_days | Yes | ||
| conditional_hold | No | ||
| delete_after_retention | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||