object_legal_hold_get
Checks whether an object or specific version is under legal hold, helping verify retention compliance before deletion or modification.
Instructions
Show whether an object (or one version) is under legal hold.
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_legal_hold_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| bucket | Yes | ||
| region | No | ||
| version_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||