drive_files_create
Creates a Google Drive file with specified name, MIME type, and parent folder. Optionally uploads a local file. Returns requested fields like ID or webViewLink.
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 |
|---|---|---|---|
| fields | No | Fields to return (e.g. "id,webViewLink") | |
| name | Yes | File name | |
| mimeType | No | MIME type (e.g. "application/vnd.google-apps.document") | |
| parents | No | Parent folder IDs (JSON array as string, e.g. '["folderId"]') | |
| uploadPath | No | Local file path to upload |