delete_r2_bucket
Delete an empty Cloudflare R2 bucket after confirming the operation. Preview before execution to avoid accidental deletion.
Instructions
Delete an (empty) R2 bucket. Requires confirm:true (human-approval gate); without it returns a preview only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Cloudflare account ID. Falls back to CLOUDFLARE_ACCOUNT_ID env var when omitted. | |
| name | Yes | Bucket name to delete (must be empty). | |
| confirm | No | Human-approval gate: must be true to actually perform this mutating operation. Omit or set false to get a non-executing preview of what would happen (with secrets redacted). A human should approve before this is set to true. |