drive_upload_file
Upload local files to Google Drive with optional folder selection, filename, and MIME type settings. Supports multiple accounts.
Instructions
Upload an explicit local file to Google Drive for an account. Uses the narrow drive.file scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional Drive filename. Defaults to the local filename. | |
| account | No | Email or alias (uses active account if omitted) | |
| mime_type | No | Optional MIME type. Defaults to extension-based detection. | |
| local_file_path | Yes | Absolute local path to the file to upload | |
| parent_folder_id_or_url | No | Optional parent Drive folder ID or URL |