upload_file_from_path
Upload a file from a local server path to Google Drive. MIME type is auto-detected; optionally specify a folder ID for placement.
Instructions
Uploads a file from a local path on the server to Google Drive. Use this after generating a file with another tool (e.g. PPTX at /shared/out/). The MIME type is auto-detected from the extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the file on disk (e.g. /shared/out/presentation.pptx) | |
| name | No | Name to use in Drive. Defaults to the filename from path. | |
| mime_type | No | MIME type. Auto-detected from extension if omitted. | |
| folder_id | No | ID of the parent folder. Omit to upload to Drive root. |