Skip to content

Google Drive

The Google Drive integration provides file management, sharing, and search capabilities.

Terminal window
skillett connect google-drive

Skillett handles all authentication automatically when you connect.

EndpointMethodDescription
list_filesGETList files and folders
get_fileGETGet file metadata
create_filePOSTUpload a new file
update_filePATCHUpdate file metadata or content
delete_fileDELETEDelete a file
copy_filePOSTCopy a file
search_filesGETSearch for files
create_folderPOSTCreate a folder
list_permissionsGETList sharing permissions
create_permissionPOSTShare a file
delete_permissionDELETERemove sharing
export_fileGETExport Google Docs to other formats
get_file_contentGETDownload file content
move_filePATCHMove file to different folder
list_changesGETList recent changes
Terminal window
# List files in root
skillett run google-drive list_files --q "'root' in parents"
# Search for documents
skillett run google-drive search_files --q "name contains 'report' and mimeType='application/vnd.google-apps.document'"
# Share a file
skillett run google-drive create_permission --fileId "abc123" --role writer --type user --emailAddress "user@example.com"
  • File IDs: Google Drive uses opaque string IDs
  • MIME types: Google Docs have special MIME types (e.g., application/vnd.google-apps.document)
  • Search syntax: Uses Drive’s query syntax (name contains, mimeType=, 'folderId' in parents)