Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Insert File Parent (v2)
GOOGLEDRIVE_ADD_PARENTTool to add a parent folder for a file using Google Drive API v2. Use when you need to add a file to an additional folder.
Insert Property (v2 API)
GOOGLEDRIVE_ADD_PROPERTYTool to add a property to a file, or update it if it already exists (v2 API). Use when you need to attach custom key-value metadata to a Google Drive file.
Batch Update Spreadsheet Values
GOOGLEDRIVE_BATCH_UPDATE_SPREADSHEET_VALUESWrite values to multiple Google Sheets ranges in one batch request.
Clear Spreadsheet Values
GOOGLEDRIVE_CLEAR_SPREADSHEET_VALUESPermanently clear values from one range while preserving formatting, notes, and validation.
Create Permission
GOOGLEDRIVE_CREATE_PERMISSIONTool to create a permission for a file or shared drive. Use when you need to share a file or folder with users, groups, domains, or make it publicly accessible. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.
Create Permissions Batch
GOOGLEDRIVE_CREATE_PERMISSIONS_BATCHCreates multiple permissions for files or shared drives in a single batch request. Use this action when you need to share multiple files with users, or share a single file with multiple users or groups simultaneously. Each permission in the batch can target a different file and specify different access levels. Batch operations are more efficient than creating permissions individually, with a maximum of 100 permissions per batch.
Delete Child (v2)
GOOGLEDRIVE_DELETE_CHILDTool to remove a child from a folder using Google Drive API v2. Use when you need to remove a file from a specific folder.
Delete Parent (v2)
GOOGLEDRIVE_DELETE_PARENTTool to remove a parent from a file using Google Drive API v2. Use when you need to remove a file from a specific folder.
Delete Permission
GOOGLEDRIVE_DELETE_PERMISSIONDeletes a specified permission from a file or shared drive by permission ID; deleting other permissions does not remove an existing public-access permission. Check the returned success flag: an owner permission that cannot be removed returns success=false.
Delete Property (v2 API)
GOOGLEDRIVE_DELETE_PROPERTYDelete a custom property from a Google Drive file using API v2. The property is selected by key and visibility; visibility defaults to private when omitted.
Edit File
GOOGLEDRIVE_EDIT_FILEReplaces the entire content of an existing Google Drive binary file with UTF-8 text while retaining its file ID. Google Docs, Sheets, Slides, and other checked Workspace file types are not supported.
Hide Shared Drive
GOOGLEDRIVE_HIDE_DRIVETool to hide a shared drive from the default view. Use when you want to remove a shared drive from the user's main Google Drive interface without deleting it.
Insert Child Into Folder (v2)
GOOGLEDRIVE_INSERT_CHILDTool to insert a file into a folder using Drive API v2. Use when you need to add an existing file to a folder.
Modify File Labels
GOOGLEDRIVE_MODIFY_FILE_LABELSModifies the set of labels applied to a file. Returns a list of the labels that were added or modified. Use when you need to programmatically change labels on a Google Drive file, such as adding, updating, or removing them.
Move File
GOOGLEDRIVE_MOVE_FILEMoves a file to another Google Drive folder. At least one of `add_parents` or `remove_parents` is required; calls with neither are rejected. Supply `add_parents` with the destination folder ID; if `remove_parents` is omitted, the action checks and removes the current parent automatically before adding the destination. For My Drive files only, `remove_parents` without `add_parents` moves the file to My Drive root. For shared-drive items, set `supports_all_drives=true` and provide `add_parents` because the item must retain exactly one parent; membership, role, and domain policies can restrict moves, and the Drive API cannot move a folder from My Drive into a shared drive. Google Drive files have one parent, so use a shortcut for additional placements.
Patch Permission
GOOGLEDRIVE_PATCH_PERMISSIONTool to update a permission using patch semantics. Use when you need to modify specific fields of an existing permission without affecting other fields. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.
Patch Property (v2 API)
GOOGLEDRIVE_PATCH_PROPERTYTool to update a property on a file using PATCH semantics (v2 API). Use when you need to partially update custom key-value metadata attached to a Google Drive file.
Resumable Upload
GOOGLEDRIVE_RESUMABLE_UPLOADUpload a file to Google Drive using a resumable session, creating a new file or updating an existing file by ID. The upload is sent in chunks.
Unhide Shared Drive
GOOGLEDRIVE_UNHIDE_DRIVETool to unhide a shared drive. Use when you need to restore a shared drive to the default view.
Untrash File
GOOGLEDRIVE_UNTRASH_FILERestore a file from Google Drive trash. The file must still be in the trash; this does not recover permanently deleted files.