create_file
Uploads a file to Google Drive with a name, MIME type, and text or base64 content. Omit parent ID to save it in My Drive root.
Instructions
Upload a file. Pass content as text_content (UTF-8 string) OR base64_content (for binary). If parent_id omitted, file lands in My Drive root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| mime_type | Yes | e.g. text/plain, image/jpeg, application/pdf | |
| parent_id | No | ||
| text_content | No | ||
| base64_content | No |