set_bucket_quota
Set or clear a MinIO bucket hard quota by specifying a byte limit; use 0 to remove the quota, with dry-run preview available.
Instructions
[WRITE][risk=medium] Set (>0) or clear (0) the bucket hard quota. Reversible.
Needs admin-capable credentials (admin API).
Args: bucket_name: Bucket name (from bucket_ls). size_bytes: New hard quota in bytes; 0 clears the quota. dry_run: If True, preview without changing the quota. 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>",
"size_bytes": "<size_bytes>"
},
"name": "set_bucket_quota"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| size_bytes | Yes | ||
| bucket_name | Yes |