storage_copy
Copy a Storage object or folder to a new path in the same or another bucket, with optional overwrite to replace an existing destination.
Instructions
Copy a Storage object (or a folder, a path ending in /) to a new path, in the same or another bucket; refuses to overwrite unless overwrite is true.
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": {
"path": "<path>",
"to": "<to>"
},
"name": "storage_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination path (a folder ends in /) | |
| path | Yes | Source object path, or a folder ending in / | |
| bucket | No | Storage bucket; default the suite's default bucket | |
| toBucket | No | Destination bucket; default the source bucket | |
| overwrite | No | Replace an existing destination |