Delete Objects
delete_objectsDelete up to 1000 objects with one call. Keys that do not exist count as deleted.
Objects that could not be deleted are listed in errors; retrying them is safe.
Do not assume a deleted object can be restored: depending on the bucket's settings,
deletion may be permanent.
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>",
"object_keys": "<object_keys>",
"bucket_token": "<bucket_token>"
},
"name": "delete_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket_name | Yes | Bucket to operate on. | |
| object_keys | Yes | Complete keys of the objects to delete, 1 to 1000. | |
| bucket_token | Yes | Secret bearer token returned with the public bucket. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Objects that could not be deleted; retrying them is safe. | |
| deleted | No | ||
| bucket_name | Yes | Bucket to operate on. | |
| deleted_count | Yes | Number of objects in `deleted`. |