Copy an object within or across Scaleway Object Storage buckets
scaleway_s3_copy_objectCopy an object directly between Scaleway S3 buckets in the same region without downloading and re-uploading. Specify source and destination bucket/key to duplicate or rename objects server-side.
Instructions
Server-side copy of one object to a new bucket/key, without downloading and re-uploading. Source and destination must be in the same region.
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": {
"source_bucket": "<source_bucket>",
"source_key": "<source_key>",
"dest_bucket": "<dest_bucket>",
"dest_key": "<dest_key>"
},
"name": "scaleway_s3_copy_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | Region both buckets live in. Cross-region copy is out of scope - source and destination must be in the same region. | |
| dest_key | Yes | Key the copy is written to. | |
| source_key | Yes | Key of the object to copy. | |
| dest_bucket | Yes | Bucket the object is copied TO. Same as source_bucket for a same-bucket copy (e.g. a rename). | |
| source_bucket | Yes | Bucket the object is copied FROM. |