object_retention_get
Retrieve an object's or version's retention mode and retain-until date, or confirm that no retention is configured.
Instructions
Show an object's (or one version's) retention mode and retain-until date, or {"configured": false} when it has none.
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>",
"key": "<key>"
},
"name": "object_retention_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| bucket | Yes | ||
| region | No | ||
| version_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||