Copy Drive File
drive_copy_fileCopy a Google Drive file to a new location or with a new name. Specify file ID, optional new name and parent folder.
Instructions
Create a copy of a file in Google Drive.
Args:
file_id (string): The ID of the file to copy
name (string, optional): New name for the copied file (defaults to 'Copy of [original name]')
parent_folder_id (string, optional): ID of the folder to copy the file into (defaults to same location as original)
Returns: { "id": string, "name": string, "mimeType": string, "webViewLink": string }
Examples:
Copy file: file_id="1abc123"
Copy with new name: file_id="1abc123", name="Budget 2025"
Copy to folder: file_id="1abc123", parent_folder_id="0xyz789"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The ID of the file to copy | |
| name | No | New name for the copied file (defaults to 'Copy of [original name]') | |
| parent_folder_id | No | ID of the folder to copy the file into (defaults to same location as original) |