mirror_drive_folder
Recursively download a Google Drive folder to a local directory while preserving folder structure. Use dry run to preview changes before writing files.
Instructions
Recursively download a Google Drive folder to a local directory. Maintains directory structure and links downloaded files for future sync.
Args: user_google_email: The user's Google email address. Required. local_parent_dir: The local directory to download into. Created if missing. folder_query: The Name or ID of the Drive folder. recursive: Whether to download subfolders. dry_run: If True (default), return planned mirror operation without writing local files.
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>",
"local_parent_dir": "<local_parent_dir>",
"folder_query": "<folder_query>"
},
"name": "mirror_drive_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| local_parent_dir | Yes | ||
| folder_query | Yes | ||
| recursive | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |