Add Drive permission
Action ID:tools.google_drive.add_permission
Grant access to a file or folder.
Secrets
Required secrets:google_drive_oauth: OAuth tokenGOOGLE_DRIVE_USER_TOKEN.
Input fields
string
required
Email address to grant access to
string
required
The file or folder ID
string
Fields to return (’*’ for all)Default:
"*".string
Role: reader, writer, commenter, ownerDefault:
"reader".boolean
Send email notificationDefault:
false.Create Drive folder
Action ID:tools.google_drive.create_folder
Create a new folder in Google Drive.
Secrets
Required secrets:google_drive_oauth: OAuth tokenGOOGLE_DRIVE_USER_TOKEN.
Input fields
string
required
Name for the new folder
string
Fields to return (’*’ for all)Default:
"*".string
Parent folder ID (empty = root)Default:
"".Delete Drive file
Action ID:tools.google_drive.delete_file
Move a file or folder to trash.
Secrets
Required secrets:google_drive_oauth: OAuth tokenGOOGLE_DRIVE_USER_TOKEN.
Input fields
string
required
The file or folder ID to delete
string
Fields to return (’*’ for all)Default:
"*".Get Drive file
Action ID:tools.google_drive.get_file
Get detailed metadata for a specific file.
Secrets
Required secrets:google_drive_oauth: OAuth tokenGOOGLE_DRIVE_USER_TOKEN.
Input fields
string
required
The file ID
string
Fields to return (’*’ for all)Default:
"*".Get Drive file permissions
Action ID:tools.google_drive.get_file_permissions
List all permissions for a file or folder.
Secrets
Required secrets:google_drive_oauth: OAuth tokenGOOGLE_DRIVE_USER_TOKEN.
Input fields
string
required
The file ID
string
Fields to return (’*’ for all)Default:
"*".List Drive files
Action ID:tools.google_drive.list_files
List and search files in Google Drive.
Secrets
Required secrets:google_drive_oauth: OAuth tokenGOOGLE_DRIVE_USER_TOKEN.
Input fields
string
Fields to return (e.g., ‘files(id,name,mimeType)’ or ’*’ for all)Default:
"*".integer
Maximum number of resultsDefault:
10.string
Sort orderDefault:
"modifiedTime desc".string
Search query (e.g., ‘name contains “report”’)Default:
"".Permanently delete Drive file
Action ID:tools.google_drive.permanently_delete_file
Permanently delete a file or folder (bypass trash).
Secrets
Required secrets:google_drive_oauth: OAuth tokenGOOGLE_DRIVE_USER_TOKEN.
Input fields
string
required
The file or folder ID to permanently delete
Revoke Drive permission
Action ID:tools.google_drive.revoke_permission
Remove a permission (revoke access).
Secrets
Required secrets:google_drive_oauth: OAuth tokenGOOGLE_DRIVE_USER_TOKEN.
Input fields
string
required
The file or folder ID
string
required
The permission ID to revoke
Update Drive permission
Action ID:tools.google_drive.update_permission
Update an existing permission (change role).
Secrets
Required secrets:google_drive_oauth: OAuth tokenGOOGLE_DRIVE_USER_TOKEN.
Input fields
string
required
The file or folder ID
string
required
The permission ID to update
string
required
New role: reader, writer, commenter
string
Fields to return (’*’ for all)Default:
"*".Upload Drive file
Action ID:tools.google_drive.upload_file
Upload a file to Google Drive.
Secrets
Required secrets:google_drive_oauth: OAuth tokenGOOGLE_DRIVE_USER_TOKEN.
Input fields
string
required
Base64-encoded file content
string
required
Name for the uploaded file
string
Fields to return (’*’ for all)Default:
"*".string
MIME type of fileDefault:
"application/octet-stream".string
Parent folder ID (empty = root)Default:
"".