copy_drive_folder
Recursively copy a Google Drive folder and all its contents to a new location, creating the same folder structure and copying every file sequentially.
Instructions
Recursively copy a Drive folder (and all its contents) to a new location.
Walks the source folder tree, creating the same structure under the destination and copying every file. Sequential to avoid rate-limit errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| source_folder_id | Yes | ID of the folder to copy. | |
| destination_parent_id | No | Parent folder ID where the new copy goes. "root" by default. | root |
| new_folder_name | No | Optional name for the top-level copied folder. Defaults to "Copy of [original name]". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |