Productivity
Google Drive
Read-only bounded google-drive workflow evidence for OrgSDK.
Explore 4 capabilities ↓What you can build
- Collect supporting files from permitted folders
- Read or export approved source material for a project
Access and credentials
Read-only evidence retrieval, constrained by mandatory configured resource boundaries. No external writes.
OAuth connections use your own provider application and client credentials. Configure that application in OrgSDK, review its permissions and connect the credential to your project.
Example action
List files in a permitted folder
Use this call in a saved OrgSDK action after enabling the plugin and connecting a credential.
return await googleDrive.listFiles({
"folderId": "your-permitted-folder-id"
});Use with OrgSDK
OrgSDK gives external AI clients persistent projects and controlled execution. Plugins add optional tools to those projects. Each run uses pinned plugin versions, and project configuration determines which credentials they can use.
Set up OrgSDK locally ↗The plugin’s toolkit
Capabilities
4 functions from this published version. Read calls retrieve or process information; write actions can change data in the connected service.
4 of 4 functions
googleDrive.listFiles
Read callList or search a single permitted folder's direct children, one bounded page at a time.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
folderId | string | — |
nameContainsOptional | string | — |
pageSizeOptional | number | — |
pageTokenOptional | string | — |
Returns Promise<{ files: Record<string, unknown>[]; nextPageToken: string | null; incompleteSearch: boolean }>
googleDrive.getFile
Read callRead selected file metadata after verifying folder ancestry.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
fileId | string | — |
Returns Promise<Record<string, unknown>>
googleDrive.readFile
Read callRead up to 5000000 bytes of a permitted binary file as text or base64.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
fileId | string | — |
Returns Promise<{ fileId: string; mimeType: string; byteLength: number; text?: string; base64?: string }>
googleDrive.exportFile
Read callExport a permitted Workspace document to a supported text or binary format, up to 5000000 bytes.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
fileId | string | — |
mimeType | "text/plain" | "text/csv" | "application/pdf" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | — |
Returns Promise<{ fileId: string; mimeType: string; byteLength: number; text?: string; base64?: string }>
