upload_file_to_drive
Upload files to Google Drive by converting base64-encoded data into documents, spreadsheets, or other file types with specified names and formats.
Instructions
Upload a file to Google Drive from base64-encoded data.
Accepts file data in base64 format and uploads it to Google Drive. Supports any file type. Returns the file ID and web link.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_data | Yes | Base64-encoded file data | |
| name | Yes | Name for the file in Drive | |
| mime_type | Yes | MIME type of the file (e.g., 'application/pdf', 'text/plain') | |
| parent_folder_id | No |