bucket_object_lock_get
Check if Object Lock is enabled on a bucket and return its default retention mode and duration, if configured.
Instructions
Show whether Object Lock is enabled on a bucket and its default retention rule (mode, and days or years), if any.
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_object_lock_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | ||
| region | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||