copy
Copies a file or directory to a new location. Set recursive true for directories; destination must not already exist.
Instructions
Copies a file or directory to a new location.
IMPORTANT: This operation fails if the destination path already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst_path | Yes | The destination path. IMPORTANT: This must include the target file or directory name, not just the destination folder. | |
| src_path | Yes | The source path to the file or directory to copy. | |
| recursive | No | Whether to recursively copy a directory and its contents. IMPORTANT: This MUST be set to `true` when copying a directory, otherwise the operation will fail. Defaults to `false` if not specified. |