Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
List Properties (v2 API)
GOOGLEDRIVE_LIST_FILE_PROPERTIESTool to list a file's properties in Google Drive API v2. Use when you need to retrieve custom properties (key-value pairs) attached to a file.
List Google Form Responses
GOOGLEDRIVE_LIST_FORM_RESPONSESReturn one page of submissions for a Google Form.
List Label Definitions
GOOGLEDRIVE_LIST_LABEL_DEFINITIONSLists available Google Drive labels, returning each label's ID and display name without requiring a file ID.
List Permissions
GOOGLEDRIVE_LIST_PERMISSIONSLists a page of permissions for a file or shared drive. Use the returned next page token to retrieve further pages when present.
List Replies to Comment
GOOGLEDRIVE_LIST_REPLIESList a page of replies to a specific comment on a Google Drive file. Supports pagination and optionally including deleted replies.
List File Revisions
GOOGLEDRIVE_LIST_REVISIONSTool to list a file's revision metadata (not content) in Google Drive. Drive may prune old revisions, so history may be incomplete for frequently edited files. Filter client-side for specific revisionIds; do not assume the last entry is the active version.
List Shared Drives
GOOGLEDRIVE_LIST_SHARED_DRIVESTool to list the user's shared drives. Use when you need to get a list of all shared drives accessible to the authenticated user. Results may differ from the web UI due to admin policies; listing a drive does not guarantee access to its contents. Paginated calls may trigger 403 rateLimitExceeded or 429 tooManyRequests; apply exponential backoff when iterating many pages.
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.
Read Spreadsheet Values
GOOGLEDRIVE_READ_SPREADSHEET_VALUESRead values from one or more ranges in a Google spreadsheet.
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.
Stop Watch Channel
GOOGLEDRIVE_STOP_WATCH_CHANNELTool to stop watching resources through a specified channel. Use this when you want to stop receiving notifications for a previously established watch. Both `id` and `resourceId` must be saved from the original watch response — they cannot be retrieved after the fact.
Trash File
GOOGLEDRIVE_TRASH_FILETool to move a file or folder to trash (soft delete). Use when you need to delete a file but want to allow recovery via UNTRASH_FILE. This action is distinct from permanent deletion and provides a safer cleanup workflow.
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.
Update Comment
GOOGLEDRIVE_UPDATE_COMMENTTool to update an existing comment on a Google Drive file. Use when you need to change the content of a comment. NOTE: The 'resolved' field is read-only in the Google Drive API. To resolve or reopen a comment, use CREATE_REPLY with action='resolve' or action='reopen'.
Update Shared Drive
GOOGLEDRIVE_UPDATE_DRIVETool to update the metadata for a shared drive. Use when you need to modify properties like the name, theme, background image, or restrictions of a shared drive.
Update File Metadata (PATCH v2)
GOOGLEDRIVE_UPDATE_FILE_METADATA_PATCHTool to update file metadata using the Drive API v2 PATCH method. Use when you need to modify file properties like title, description, or labels using patch semantics.