create_file
Create a new Google Drive file from text, optionally importing Markdown, HTML, CSV, or plain content as Docs, Sheets, or Slides; omit content for an empty native file.
Instructions
WRITES. Create a file from text. With convertTo, the text is imported as a Google Doc (from Markdown, HTML or plain text), Sheet (from CSV) or Slides. Without it a plain file of the given mimeType is created. Omit content to create an empty Google file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| content | No | Text content. | |
| folderId | No | Parent folder. Default My Drive root. | |
| mimeType | No | MIME type of `content`. Default text/markdown when convertTo is document, text/csv for spreadsheet, otherwise text/plain. | |
| convertTo | No | Import as a Google-native file. | |
| description | No |