gdrive_write_file
Google Drive · macOS · Windows
Effect: write (strongest supported action). Status: gated.
Gated means the tool requires an installed app, a connected account, permission, or runtime availability. Check those requirements on the listed platform before using it.
macOS
Purpose
Writes or overwrites a text file in the synced Google Drive folder — it uploads automatically via the official client. First call returns a preview; pass confirm=true to write.
Required inputs
path— Absolute path under a Google Drive mountcontent— Text content to write
Permissions and confirmation
Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the action.
- Use only the apps, accounts and resources authorized by the user on this platform. Consult this tool's platform-specific description for its connection and permission requirements; this catalog does not assert additional OAuth scopes or OS entitlements.
Full input schema — macOS
{
"properties": {
"confirm": {
"description": "Must be true to actually write",
"type": "boolean"
},
"content": {
"description": "Text content to write",
"type": "string"
},
"path": {
"description": "Absolute path under a Google Drive mount",
"type": "string"
}
},
"required": [
"path",
"content"
],
"type": "object"
}Documentation example
Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.
{
"confirm": false,
"content": "Meeting agenda: review the launch checklist.",
"path": "/Users/demo/Library/CloudStorage/[email protected]/My Drive/Documents/meeting-notes.txt"
}Windows
Purpose
Writes or overwrites a text file in the synced Google Drive folder — it uploads automatically via the official client. First call returns a preview; pass confirm=true to write.
Required inputs
path— Absolute path under a Google Drive mountcontent— Text content to write
Permissions and confirmation
Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the action.
- Use only the apps, accounts and resources authorized by the user on this platform. Consult this tool's platform-specific description for its connection and permission requirements; this catalog does not assert additional OAuth scopes or OS entitlements.
Full input schema — Windows
{
"properties": {
"confirm": {
"description": "Must be true to actually write",
"type": "boolean"
},
"content": {
"description": "Text content to write",
"type": "string"
},
"path": {
"description": "Absolute path under a Google Drive mount",
"type": "string"
}
},
"required": [
"path",
"content"
],
"type": "object"
}Documentation example
Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.
{
"confirm": false,
"content": "Meeting agenda: review the launch checklist.",
"path": "Documents/meeting-notes.txt"
}