gdrive_files_create
Create metadata for a Google Drive folder, Doc, Sheet, Slide, or empty file, specifying a single parent folder.
Instructions
Create a file's metadata: a folder (mimeType application/vnd.google-apps.folder), a Google Doc / Sheet / Slide, or an empty blob. Media upload is not expressed here. parents takes at most one folder ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The file resource to create. For a folder, set `mimeType` to `application/vnd.google-apps.folder`. For a Google Doc, Sheet or Slide, use the corresponding `application/vnd.google-apps.*` MIME type. `parents` takes at most one folder ID. | |
| ocrLanguage | No | A language hint for OCR processing during image import (ISO 639-1 code). | |
| includeLabels | No | A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. | |
| supportsAllDrives | No | Whether the requesting application supports both My Drives and shared drives. | |
| keepRevisionForever | No | Whether to set the `keepForever` field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions. | |
| ignoreDefaultVisibility | No | Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to the domain by default; this parameter bypasses that behavior for the request. Permissions are still inherited from parent folders. | |
| includePermissionsForView | No | Specifies which additional view's permissions to include in the response. Only `published` is supported. | |
| useContentAsIndexableText | No | Whether to use the uploaded content as indexable text. |