upload_drive_file_version
Upload a new version of a Drive file using file ID or path. Supply file path, URL, or base64 content to replace the current version and increment the version counter.
Instructions
Upload a new version for an existing Drive file resolved by file id or file path. Provide exactly one source: filePath, fileUrl, or base64 data. This increments the file version counter and makes the uploaded version current.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drive | Yes | a string that will be trimmed | |
| file | Yes | a string that will be trimmed | |
| contentType | Yes | a string that will be trimmed | |
| filePath | No | Local filesystem path to upload. Preferred for large files. | |
| fileUrl | No | Remote URL to fetch server-side. | |
| data | No | Base64-encoded file content. Use only for small files. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The successful tool result. The same value is also serialized as JSON in the text content for clients that do not read structuredContent. | |
| warnings | No | Optional agent-visible warnings about degraded result fidelity. Omitted when the server returned the documented happy-path payload. |