s3_delete_object
Delete a single B2 object through the S3 API. Specify versionId to permanently remove a specific version; otherwise, standard delete semantics may create a delete marker in versioned buckets.
Instructions
Delete one B2 object through the S3-compatible API. Use s3_list_object_versions first when you need to target a specific version or delete marker; use s3_delete_objects for batches up to 1000. Requires deleteFiles and destructive confirmation by policy; targeting a specific versionId additionally requires readFiles, because native B2 version binding is verified first. Omitting versionId applies normal S3 delete semantics and can create a delete marker in versioned buckets; providing versionId permanently removes that version after that binding check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Exact object key to delete. | |
| bucket | Yes | Bucket name containing the object to delete. | |
| confirm | No | Fallback confirmation for this destructive/irreversible operation when the effective server destructive policy is 'confirm' and MCP elicitation cannot run. | |
| versionId | No | Exact version ID to delete. Omit to delete the current object by S3 semantics, which may create a delete marker for versioned buckets. |