Create/upload Drive file
google_drive_uploadUpload files to Google Drive by name and MIME type. Include text content or a local file path to create documents, images, or other files in a specified folder.
Instructions
Create a file in Drive, optionally with text content (blank Google-native file if omitted) or by local file path (binary-safe).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | File name. | |
| path | No | Local file path to upload (reads raw bytes from disk; use instead of content). | |
| account | No | Account nickname to use. | |
| content | No | Text content to upload. | |
| mimeType | Yes | MIME type (e.g. text/plain, image/png, application/vnd.google-apps.document). | |
| parentFolderId | No | Parent folder ID. |