Gdrive Write File
gdrive_write_fileWrites or overwrites a text file in the synced Google Drive folder — it uploads automatically via the official client. Overwriting an existing file requires confirm=true (the first call returns a preview instead); creating a new file needs no confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path under a Google Drive mount | |
| confirm | No | Required (true) to OVERWRITE an existing file. Not needed to create a new file. | |
| content | Yes | Text content to write |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| bytes | Yes | ||
| written | Yes | ||
| overwrote | Yes |