Move or rename a file
move_fileMove or rename a file within a bucket without overwriting existing files. If the destination path already exists, the operation fails, ensuring data safety.
Instructions
Move or rename a file within a bucket (for example, tidy 'draft.png' into 'logos/final.png'). This NEVER overwrites: if something already exists at the new path, the move fails and asks you to pick a different name. It moves the file, so the old path no longer holds it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | The bucket the file lives in. | |
| to_path | Yes | New path/name for the file, e.g. 'logos/final.png'. Must not already exist. | |
| from_path | Yes | Current path of the file, e.g. 'draft.png' or 'logos/draft.png'. |