Search, read, create, and manage Google Drive and Workspace files
/appconnect/get_profile
/appconnect/list_selected_files
| Param | Type | Required | Description |
|---|---|---|---|
| limit | integer | optional | Maximum files to return (1-100) |
/appconnect/search_selected_files
| Param | Type | Required | Description |
|---|---|---|---|
| query | string | required | Case-insensitive name query |
| limit | integer | optional | Maximum results (1-100) |
/appconnect/search_files
| Param | Type | Required | Description |
|---|---|---|---|
| query | string | optional | Plain name/full-text query |
| q | string | optional | Optional raw Drive v3 q filter; combined with query |
| itemType | string | optional | Optional file, folder, document, spreadsheet, presentation, or image filter |
| orderBy | string | optional | Drive orderBy expression |
| driveId | string | optional | Limit search to one Shared Drive |
| pageSize | integer | optional | Maximum items to return (1-1000) |
| pageToken | string | optional | Opaque Google pagination token |
/appconnect/recent_files
| Param | Type | Required | Description |
|---|---|---|---|
| requireViewedByUser | boolean | optional | Only return files viewed by the user |
| pageSize | integer | optional | Maximum items to return (1-1000) |
| pageToken | string | optional | Opaque Google pagination token |
/appconnect/list_drives
| Param | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | optional | Maximum items to return (1-1000) |
| pageToken | string | optional | Opaque Google pagination token |
/appconnect/list_folder
| Param | Type | Required | Description |
|---|---|---|---|
| folderId | string | required | Google Drive folder identifier or 'root' |
| pageSize | integer | optional | Maximum items to return (1-1000) |
| pageToken | string | optional | Opaque Google pagination token |
/appconnect/get_file_metadata
| Param | Type | Required | Description |
|---|---|---|---|
| fileId | string | required | Google Drive file identifier or supported Drive URL |
/appconnect/get_file_content
| Param | Type | Required | Description |
|---|---|---|---|
| fileId | string | required | Google Drive file identifier or supported Drive URL |
| exportMimeType | string | optional | Native Google file export MIME type |
/appconnect/export_file
| Param | Type | Required | Description |
|---|---|---|---|
| fileId | string | required | Google Drive file identifier or supported Drive URL |
| mimeType | string | required | Requested export MIME type |
/appconnect/list_file_revisions
| Param | Type | Required | Description |
|---|---|---|---|
| fileId | string | required | Google Drive file identifier or supported Drive URL |
| pageSize | integer | optional | Maximum items to return (1-1000) |
| pageToken | string | optional | Opaque Google pagination token |
/appconnect/get_file_revision
| Param | Type | Required | Description |
|---|---|---|---|
| fileId | string | required | Google Drive file identifier or supported Drive URL |
| revisionId | string | required | Drive revision identifier |
/appconnect/get_file_comments
| Param | Type | Required | Description |
|---|---|---|---|
| fileId | string | required | Google Drive file identifier or supported Drive URL |
| includeDeleted | boolean | optional | Include deleted comments |
| pageSize | integer | optional | Maximum items to return (1-1000) |
| pageToken | string | optional | Opaque Google pagination token |
/appconnect/copy_file
| Param | Type | Required | Description |
|---|---|---|---|
| fileId | string | required | Google Drive file identifier or supported Drive URL |
| name | string | optional | Name for the copy |
| parentFolderId | string | optional | Google Drive folder identifier or 'root' |
/appconnect/create_file
| Param | Type | Required | Description |
|---|---|---|---|
| name | string | required | File name |
| fileType | string | required | Native file type |
| parentFolderId | string | optional | Google Drive folder identifier or 'root' |
/appconnect/create_folder
| Param | Type | Required | Description |
|---|---|---|---|
| name | string | required | Folder name |
| parentFolderId | string | optional | Google Drive folder identifier or 'root' |
/appconnect/delete_file
| Param | Type | Required | Description |
|---|---|---|---|
| fileId | string | required | Google Drive file identifier or supported Drive URL |
/appconnect/share_file
| Param | Type | Required | Description |
|---|---|---|---|
| fileId | string | required | Google Drive file identifier or supported Drive URL |
| type | string | required | Permission target type |
| role | string | required | Permission role |
| emailAddress | string | optional | User or group email |
| domain | string | optional | Domain target |
| sendNotificationEmail | boolean | optional | Send Google notification email |
/appconnect/update_file
| Param | Type | Required | Description |
|---|---|---|---|
| fileId | string | required | Google Drive file identifier or supported Drive URL |
| name | string | optional | New file name |
| description | string | optional | New description |
| starred | boolean | optional | Whether file is starred |
| trashed | boolean | optional | Whether file is trashed |
| addParentId | string | optional | Google Drive folder identifier or 'root' |
| removeParentId | string | optional | Google Drive folder identifier or 'root' |
| contentBase64 | string | optional | Replacement raw bytes as base64 |
| mimeType | string | optional | Replacement content MIME type |
/appconnect/upload_file
| Param | Type | Required | Description |
|---|---|---|---|
| name | string | required | File name |
| contentBase64 | string | required | File bytes as base64 |
| mimeType | string | required | Content MIME type |
| parentFolderId | string | optional | Google Drive folder identifier or 'root' |
/appconnect/bulk_update_file_comments
| Param | Type | Required | Description |
|---|---|---|---|
| fileId | string | required | Google Drive file identifier or supported Drive URL |
| comments | array | optional | Top-level comments to create |
| replies | array | optional | Replies with commentId and content |
| resolutions | array | optional | Comment IDs to resolve |
/appconnect/get_document
| Param | Type | Required | Description |
|---|---|---|---|
| documentId | string | required | Google Docs document identifier or URL |
| includeTabsContent | boolean | optional | Include all tab content |
/appconnect/get_document_text
| Param | Type | Required | Description |
|---|---|---|---|
| documentId | string | required | Google Docs document identifier or URL |
/appconnect/get_document_tables
| Param | Type | Required | Description |
|---|---|---|---|
| documentId | string | required | Google Docs document identifier or URL |
/appconnect/find_document_text_range
| Param | Type | Required | Description |
|---|---|---|---|
| documentId | string | required | Google Docs document identifier or URL |
| text | string | required | Exact text to find |
| matchCase | boolean | optional | Use case-sensitive matching |
/appconnect/get_document_paragraph_range
| Param | Type | Required | Description |
|---|---|---|---|
| documentId | string | required | Google Docs document identifier or URL |
| index | integer | required | Document character index |
/appconnect/get_document_comments
| Param | Type | Required | Description |
|---|---|---|---|
| documentId | string | required | Google Docs document identifier or URL |
| pageSize | integer | optional | Maximum items to return (1-1000) |
| pageToken | string | optional | Opaque Google pagination token |
/appconnect/batch_update_document
| Param | Type | Required | Description |
|---|---|---|---|
| documentId | string | required | Google Docs document identifier or URL |
| requests | array | required | Google Docs batchUpdate request objects |
| writeControl | object | optional | Optional Docs writeControl |
/appconnect/import_document
| Param | Type | Required | Description |
|---|---|---|---|
| name | string | required | Document name |
| contentBase64 | string | required | DOC/DOCX/ODT/RTF/HTML/TXT bytes as base64 |
| sourceMimeType | string | required | Source MIME type |
| parentFolderId | string | optional | Google Drive folder identifier or 'root' |
/appconnect/get_spreadsheet_metadata
| Param | Type | Required | Description |
|---|---|---|---|
| spreadsheetId | string | required | Google Sheets spreadsheet identifier or URL |
/appconnect/get_spreadsheet_range
| Param | Type | Required | Description |
|---|---|---|---|
| spreadsheetId | string | required | Google Sheets spreadsheet identifier or URL |
| range | string | required | A1 notation range |
| valueRenderOption | string | optional | Sheets value render option |
/appconnect/get_spreadsheet_cells
| Param | Type | Required | Description |
|---|---|---|---|
| spreadsheetId | string | required | Google Sheets spreadsheet identifier or URL |
| ranges | array | required | A1 ranges |
| includeGridData | boolean | optional | Include grid data |
/appconnect/search_spreadsheet_rows
| Param | Type | Required | Description |
|---|---|---|---|
| spreadsheetId | string | required | Google Sheets spreadsheet identifier or URL |
| range | string | required | Bounded A1 range |
| query | string | required | Case-insensitive query |
| limit | integer | optional | Maximum matching rows (1-500) |
/appconnect/get_spreadsheet_comments
| Param | Type | Required | Description |
|---|---|---|---|
| spreadsheetId | string | required | Google Sheets spreadsheet identifier or URL |
| pageSize | integer | optional | Maximum items to return (1-1000) |
| pageToken | string | optional | Opaque Google pagination token |
/appconnect/batch_update_spreadsheet
| Param | Type | Required | Description |
|---|---|---|---|
| spreadsheetId | string | required | Google Sheets spreadsheet identifier or URL |
| requests | array | required | Google Sheets batchUpdate request objects |
| includeSpreadsheetInResponse | boolean | optional | Return updated spreadsheet |
/appconnect/duplicate_sheet_in_new_spreadsheet
| Param | Type | Required | Description |
|---|---|---|---|
| spreadsheetId | string | required | Google Sheets spreadsheet identifier or URL |
| sheetId | integer | required | Source sheet numeric ID |
| title | string | required | New spreadsheet title |
/appconnect/import_spreadsheet
| Param | Type | Required | Description |
|---|---|---|---|
| name | string | required | Spreadsheet name |
| contentBase64 | string | required | Spreadsheet bytes as base64 |
| sourceMimeType | string | required | Source MIME type |
| parentFolderId | string | optional | Google Drive folder identifier or 'root' |
/appconnect/get_presentation
| Param | Type | Required | Description |
|---|---|---|---|
| presentationId | string | required | Google Slides presentation identifier or URL |
/appconnect/get_presentation_outline
| Param | Type | Required | Description |
|---|---|---|---|
| presentationId | string | required | Google Slides presentation identifier or URL |
/appconnect/get_presentation_text
| Param | Type | Required | Description |
|---|---|---|---|
| presentationId | string | required | Google Slides presentation identifier or URL |
/appconnect/get_presentation_tables
| Param | Type | Required | Description |
|---|---|---|---|
| presentationId | string | required | Google Slides presentation identifier or URL |
/appconnect/get_presentation_comments
| Param | Type | Required | Description |
|---|---|---|---|
| presentationId | string | required | Google Slides presentation identifier or URL |
| pageSize | integer | optional | Maximum items to return (1-1000) |
| pageToken | string | optional | Opaque Google pagination token |
/appconnect/get_slide
| Param | Type | Required | Description |
|---|---|---|---|
| presentationId | string | required | Google Slides presentation identifier or URL |
| slideId | string | required | Slide object ID |
/appconnect/get_slide_thumbnail
| Param | Type | Required | Description |
|---|---|---|---|
| presentationId | string | required | Google Slides presentation identifier or URL |
| slideId | string | required | Slide object ID |
| thumbnailSize | string | optional | Thumbnail size |
/appconnect/batch_update_presentation
| Param | Type | Required | Description |
|---|---|---|---|
| presentationId | string | required | Google Slides presentation identifier or URL |
| requests | array | required | Google Slides batchUpdate request objects |
| writeControl | object | optional | Optional Slides writeControl |
/appconnect/create_presentation_from_template
| Param | Type | Required | Description |
|---|---|---|---|
| presentationId | string | required | Google Slides presentation identifier or URL |
| name | string | required | New presentation name |
| parentFolderId | string | optional | Google Drive folder identifier or 'root' |
/appconnect/import_presentation
| Param | Type | Required | Description |
|---|---|---|---|
| name | string | required | Presentation name |
| contentBase64 | string | required | PPT/PPTX/ODP bytes as base64 |
| sourceMimeType | string | required | Source MIME type |
| parentFolderId | string | optional | Google Drive folder identifier or 'root' |