# Google Drive Reference Below is a reference of enumerations used by some tools in the Google Drive MCP Server: ## OrderBy Sort order options for listing and searching files. - **CREATED_TIME**: `createdTime` - When the file was created (ascending) - **CREATED_TIME_DESC**: `createdTime desc` - When the file was created (descending) - **FOLDER**: `folder` - The folder ID, sorted using alphabetical ordering (ascending) - **FOLDER_DESC**: `folder desc` - The folder ID, sorted using alphabetical ordering (descending) - **MODIFIED_BY_ME_TIME**: `modifiedByMeTime` - The last time the file was modified by the user (ascending) - **MODIFIED_BY_ME_TIME_DESC**: `modifiedByMeTime desc` - The last time the file was modified by the user (descending) - **MODIFIED_TIME**: `modifiedTime` - The last time the file was modified by anyone (ascending) - **MODIFIED_TIME_DESC**: `modifiedTime desc` - The last time the file was modified by anyone (descending) - **NAME**: `name` - The name of the file, sorted alphabetically (ascending) - **NAME_DESC**: `name desc` - The name of the file, sorted alphabetically (descending) - **NAME_NATURAL**: `name_natural` - The name of the file, sorted using natural sort ordering (ascending) - **NAME_NATURAL_DESC**: `name_natural desc` - The name of the file, sorted using natural sort ordering (descending) - **QUOTA_BYTES_USED**: `quotaBytesUsed` - The number of storage quota bytes used by the file (ascending) - **QUOTA_BYTES_USED_DESC**: `quotaBytesUsed desc` - The number of storage quota bytes used by the file (descending) - **RECENCY**: `recency` - The most recent timestamp from the file's date-time fields (ascending) - **RECENCY_DESC**: `recency desc` - The most recent timestamp from the file's date-time fields (descending) - **SHARED_WITH_ME_TIME**: `sharedWithMeTime` - When the file was shared with the user (ascending) - **SHARED_WITH_ME_TIME_DESC**: `sharedWithMeTime desc` - When the file was shared with the user (descending) - **STARRED**: `starred` - Whether the user has starred the file (ascending) - **STARRED_DESC**: `starred desc` - Whether the user has starred the file (descending) - **VIEWED_BY_ME_TIME**: `viewedByMeTime` - The last time the file was viewed by the user (ascending) - **VIEWED_BY_ME_TIME_DESC**: `viewedByMeTime desc` - The last time the file was viewed by the user (descending) ## GoogleDriveFileType File type filters for searching files. - **SPREADSHEET**: `spreadsheet` - Google Sheets - **SLIDES**: `slides` - Google Slides presentations - **DOCUMENT**: `document` - Google Docs - **DRAWING**: `drawing` - Google Drawings - **FORM**: `form` - Google Forms - **FOLDER**: `folder` - Folders - **IMAGE**: `image` - Image files (JPEG, PNG, GIF, WebP) - **VIDEO**: `video` - Video files (MP4, MPEG, QuickTime, WebM) - **AUDIO**: `audio` - Audio files (MP3, M4A, WAV) - **SCRIPT**: `script` - Google Apps Script - **SITES**: `sites` - Google Sites - **PDF**: `pdf` - PDF documents ## PermissionRole Permission roles for sharing Google Drive files and folders. - **READER**: `reader` - Can view and download - **COMMENTER**: `commenter` - Can view, download, and comment - **WRITER**: `writer` - Can view, download, comment, and edit - **OWNER**: `owner` - Full control (transfer ownership) ## UploadMimeType Supported file types for uploading to Google Drive. This tool can only upload regular files - it cannot create Google Workspace files (Google Docs, Sheets, Slides). ### Text-based files - **PLAIN_TEXT**: `text/plain` - .txt files - **CSV**: `text/csv` - .csv spreadsheet data - **JSON**: `application/json` - .json data files - **HTML**: `text/html` - .html web pages - **MARKDOWN**: `text/markdown` - .md documentation ### Documents - **PDF**: `application/pdf` - .pdf documents ### Images - **PNG**: `image/png` - .png images - **JPEG**: `image/jpeg` - .jpg/.jpeg images - **GIF**: `image/gif` - .gif images - **WEBP**: `image/webp` - .webp images - **SVG**: `image/svg+xml` - .svg vector graphics