drive_files_create
Create a new file in Google Drive by specifying its name and metadata, with the option to upload a local file.
Instructions
Create a new file in Google Drive. Use with bodyParams for metadata and optionally upload a local file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | File name | |
| fields | No | Fields to return (e.g. "id,webViewLink") | |
| parents | No | Parent folder IDs (JSON array as string, e.g. '["folderId"]') | |
| mimeType | No | MIME type (e.g. "application/vnd.google-apps.document") | |
| uploadPath | No | Local file path to upload |