Copy Drive File
drive_copy_fileCreate a copy of any Google Drive file, with options to rename it or place it in a specific 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 |
|---|---|---|---|
| name | No | New name for the copied file (defaults to 'Copy of [original name]') | |
| file_id | Yes | The ID of the file to copy | |
| parent_folder_id | No | ID of the folder to copy the file into (defaults to same location as original) |