Sim Studio

Google Drive

Upload, download, and list files

Google Drive is Google's cloud storage and file synchronization service that allows users to store files, synchronize files across devices, and share files with others. As a core component of Google's productivity ecosystem, Google Drive offers robust storage, organization, and collaboration capabilities.

With Google Drive, you can:

  • Store files in the cloud: Upload and access your files from anywhere with internet access
  • Organize content: Create folders, use color coding, and implement naming conventions
  • Share and collaborate: Control access permissions and work simultaneously on files
  • Search efficiently: Find files quickly with Google's powerful search technology
  • Access across devices: Use Google Drive on desktop, mobile, and web platforms
  • Integrate with other services: Connect with Google Docs, Sheets, Slides, and third-party applications

In Sim Studio, the Google Drive integration enables your agents to interact directly with your cloud storage programmatically. This allows for powerful automation scenarios such as file management, content organization, and document workflows. Your agents can upload new files to specific folders, download existing files to process their contents, and list folder contents to navigate your storage structure. This integration bridges the gap between your AI workflows and your document management system, enabling seamless file operations without manual intervention. By connecting Sim Studio with Google Drive, you can automate file-based workflows, manage documents intelligently, and incorporate cloud storage operations into your agent's capabilities.

Usage Instructions

Integrate Google Drive functionality to manage files and folders. Upload new files, download existing ones, and list contents of folders using OAuth authentication. Supports file operations with custom MIME types and folder organization.

Tools

google_drive_upload

Upload a file to Google Drive

Input

ParameterTypeRequiredDescription
accessTokenstringYesThe access token for the Google Drive API
fileNamestringYesThe name of the file to upload
contentstringYesThe content of the file to upload
mimeTypestringNoThe MIME type of the file to upload
folderIdstringNoThe ID of the folder to upload the file to

Output

ParameterType
filestring
namestring
mimeTypestring
webViewLinkstring
webContentLinkstring
sizestring
createdTimestring
modifiedTimestring
parentsstring

google_drive_download

Download a file from Google Drive

Input

ParameterTypeRequiredDescription
accessTokenstringYesThe access token for the Google Drive API
fileIdstringYesThe ID of the file to download

Output

ParameterType
metadatastring
namestring
mimeTypestring
webViewLinkstring
webContentLinkstring
sizestring
createdTimestring
modifiedTimestring
parentsstring

google_drive_list

List files and folders in Google Drive

Input

ParameterTypeRequiredDescription
accessTokenstringYesThe access token for the Google Drive API
folderIdstringNoThe ID of the folder to list files from
querystringNoA query to filter the files
pageSizenumberNoThe number of files to return
pageTokenstringNoThe page token to use for pagination

Output

ParameterType
filesstring
namestring
mimeTypestring
webViewLinkstring
webContentLinkstring
sizestring
createdTimestring
modifiedTimestring
parentsstring

Block Configuration

No configuration parameters required.

Outputs

OutputTypeDescription
responseobjectOutput from response
contentstringcontent of the response
metadatajsonmetadata of the response

Notes

  • Category: tools
  • Type: google_drive
On this page

On this page