bucket_lifecycle_set
Replace all lifecycle rules on a bucket with S3-form rules for object expiration, noncurrent version expiration, or aborting incomplete multipart uploads; transitions are rejected.
Instructions
Replace all of a bucket's lifecycle rules with rules in S3 form (ID, Status, Filter with Prefix/Tag/And/ObjectSize*, and Expiration, NoncurrentVersionExpiration or AbortIncompleteMultipartUpload); transitions are rejected because Wasabi has one storage class. Rules run daily at 00:00 UTC and take 24-48 hours to apply, can't delete locked objects, and can't be set while MFA Delete is on. 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>",
"rules": "<rules>"
},
"name": "bucket_lifecycle_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | ||
| bucket | Yes | ||
| region | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||