set_versioning
Enable or suspend versioning for a MinIO bucket to control object history. Preview changes with dry run before applying, and target a specific MinIO instance if needed.
Instructions
[WRITE][risk=medium] Enable or suspend bucket versioning. Reversible → prior state.
Args: bucket_name: Bucket name (from bucket_ls). status: "Enabled" or "Suspended". dry_run: If True, preview without changing versioning. target: MinIO target name from config; omit for the default.
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_name": "<bucket_name>",
"status": "<status>"
},
"name": "set_versioning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| target | No | ||
| dry_run | No | ||
| bucket_name | Yes |