s3_copy_object
Copy an S3 object server-side between buckets or keys on AWS, Hetzner, or OVH, overwriting the destination if it already exists.
Instructions
Server-side copy of an S3 object within the same provider. Overwrites the destination if it exists. Reserved for dangerous guard mode.
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": {
"provider": "<provider>",
"src_bucket": "<src_bucket>",
"src_key": "<src_key>",
"dst_bucket": "<dst_bucket>",
"dst_key": "<dst_key>"
},
"name": "s3_copy_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | Region the DESTINATION bucket lives in (e.g. 'eu-central-1'). Omit unless you know it — it is resolved automatically. AWS, and OVH when no endpoint URL is configured (pass the region s3_list_buckets reports). Rejected for Hetzner, and for an OVH endpoint URL set by hand, whose region is fixed by that endpoint. | |
| account | No | Account label of the provider whose object storage to use; omit for that provider's default account. | |
| dst_key | Yes | Destination object key. | |
| src_key | Yes | Source object key. | |
| provider | Yes | Storage provider. | |
| dst_bucket | Yes | Destination bucket name. | |
| src_bucket | Yes | Source bucket name. |