Skip to main content
Every googledrive.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Files

copy

files.copy Copy a file in Google Drive Risk: write
Input Output

createFromText

files.createFromText Create a new Drive file from text content Risk: write
Input Output

delete

files.delete Permanently delete a file [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output: void

download

files.download Download the content of a file Risk: read
Input Output: any

get

files.get Get metadata for a specific file Risk: read
Input Output

list

files.list List files in Google Drive Risk: read
Input Output

move

files.move Move a file to a different folder Risk: write
Input Output

share

files.share Share a file by granting permissions to users Risk: write
Input Output

update

files.update Update the content or metadata of a file Risk: write
Input
Output

upload

files.upload Upload a file to Google Drive Risk: write
Input Output

Folders

create

folders.create Create a new folder Risk: write
Input Output

delete

folders.delete Permanently delete a folder and its contents [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output: void

get

folders.get Get metadata for a specific folder Risk: read
Input Output

list

folders.list List folders in Google Drive Risk: read
Input Output

share

folders.share Share a folder by granting permissions to users Risk: write
Input Output

filesAndFolders

search.filesAndFolders Search for files and folders in Google Drive Risk: read
Input Output

Shared Drives

create

sharedDrives.create Create a new shared drive Risk: write
Input
Output

delete

sharedDrives.delete Permanently delete a shared drive [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output: void

get

sharedDrives.get Get info about a shared drive Risk: read
Input Output

list

sharedDrives.list List shared drives Risk: read
Input Output

update

sharedDrives.update Update a shared drive Risk: write
Input
Output