copy_drive_folder
Recursively copy a Google Drive folder and all its contents to a new location, preserving the folder structure.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user_google_email": "<user_google_email>",
"source_folder_id": "<source_folder_id>"
},
"name": "copy_drive_folder"
}
}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 |