object_legal_hold_set
Place or release a legal hold on a stored object or object version to prevent deletion until the hold is released.
Instructions
Place (on=true) or release (on=false) a legal hold on an object or one version. A held object can't be deleted until the hold is released. 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>",
"key": "<key>",
"on": "<on>"
},
"name": "object_legal_hold_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | ||
| key | Yes | ||
| bucket | Yes | ||
| region | No | ||
| confirm | No | ||
| version_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||