Drive
Google Drive is Google's cloud file storage. With this connector, TAO can search Drive and read your files. It can also create files and, for files it created itself, change, move and share them.
Screenshot placeholder
What you can do
Illustrative examples.
- "Find the Q3 budget spreadsheet in my Drive."
- "Read the meeting notes document and summarise it."
- "Save this summary as a new text file in the Reports folder."
- "Share the file TAO just created with Priya, view only."
Before you connect
- You need a Google account. Work (Google Workspace) and personal accounts both work, as far as the code shows.
- A platform admin must have enabled the Google connector. See Google.
- You approve Google's consent screen yourself. For Drive it asks for two things: read-only access to all your files, and access to files TAO itself creates.
- You do not enter a password or key in TAO.
Connect it
Open My Connectors
Go to Settings and open My Connectors.
Find Google
Find the Google tile. It covers Gmail, Drive and Calendar. If you already connected Google for Gmail, you are done.
Click Connect
Click Connect. Your browser goes to Google.
Approve access
Pick your Google account and approve the permissions. Google sends you back to TAO.
Tools
Writes marked queued wait in Nexus > Approvals until a person approves them.
| Tool name | What it does | Read or Write |
|---|---|---|
gdrive_list_files | Lists or searches files with Drive search (for example name contains report). Newest-modified first, except for full-text searches. Default 50, up to 100. | Read |
gdrive_get_file_metadata | Gets one file's name, type, size, folders and link. | Read |
gdrive_get_file_content | Reads a file's content as text. Google Docs, Sheets and Slides are exported to plain text or CSV. | Read |
gdrive_create_file | Creates a new file with the text you give, optionally in a folder. | Write, queued |
gdrive_update_file_content | Overwrites the content of an existing file. | Write, queued |
gdrive_move_file | Moves a file to another folder. | Write, queued |
gdrive_share_file | Shares a file with a person by email as reader, commenter or writer. Google emails them. | Write, queued |
Total: 7 tools (3 reads, 4 queued writes).
Limits and good to know
- Reads are wide, writes are narrow. Reading can reach any file you can see, including files shared with you. Changing, moving and sharing only work on files TAO created. On any other file, expect a permission error.
- No picker. The code has no in-app file picker, so there is no way to hand TAO an existing file to edit.
- No delete. There is no tool to delete a file. This is deliberate across the whole platform.
- Overwrite is serious.
gdrive_update_file_contentreplaces the whole content. Check the approval card before you approve. - Text only. Files are created from text content. The default type is plain text.
- Narrower permission. The full Drive permission was deliberately not requested.