copy_file
Copy a file with its metadata to a new location, with options to overwrite existing files or preview the action without executing.
Instructions
Copy a file with metadata. Directories require copy_directory.
Args: source: Existing source file path destination: Destination file path overwrite: Allow replacing an existing destination dry_run: Return the planned action without copying
Returns: JSON string with operation details or an error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| dry_run | No | ||
| overwrite | No | ||
| destination | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |