Copy Drive File
copy_drive_fileCopy a Google Drive file to a new location with an optional new name, preserving all formatting and content.
Instructions
Creates a copy of an existing Google Drive file.
This tool copies the template document to a new location with an optional new name. The copy maintains all formatting and content from the original file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | No | The user's Google email address. Required. | user@gmail.com |
| file_id | Yes | The ID of the file to copy. Required. | |
| new_name | No | New name for the copied file. If not provided, uses "Copy of [original name]". | |
| parent_folder_id | No | The ID of the folder where the copy should be created. Defaults to 'root' (My Drive). | root |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |