Google Drive Helper
Reference for navigating Shaw's Google Drive — finding files, reading contents, and avoiding the connector's footguns. Load it, then act based on the request.
Workspace
The Drive connector is wired to Shaw's aibuilder.academy account only (the ABA business workspace). Files owned by other accounts (Shaw's personal Gmail, clients, collaborators) only surface when they've been explicitly shared into the aibuilder.academy workspace — those show up in search with sharedWithMeTime populated. There's no way to list arbitrary contents of folders owned by other accounts; only individually shared files are reachable.
When linking back to Shaw, use the viewUrl returned by the API. Don't hand-rewrite URLs.
Known Folders
Hardcoded folder IDs Shaw uses regularly. When asked about content in any of these, search by parentId = directly instead of doing a fuzzy title search.
| Folder | ID | What's inside |
|---|---|---|
forms | 1nExDY6bLRQWq73TfX1ihZpQsPDqsbRrD | Google Forms (intake, testimonial, feedback, etc.). Some entries are shortcuts to Forms shared in from elsewhere. |
sheets | 1hMTTUsNov7u3gfrP6Y1N50IplfpxFZpC | Linked response sheets for the forms above. |
Meet Recordings | 14fmJnjIU0Dj5xL9trSxOJe_vUTdhQOyV | Historical only — holds Meet transcripts through 2026-07-24. From ~2026-07-25 on, Meet writes each transcript into its own newly-created folder, so this ID stopped collecting them. Don't anchor a transcript search to it; see "Find the transcript for a call". |
agents | 1jyO_4Z95-KY8_XfYqGNMHCdzFItqTm3B | Handoff / research-brief docs prepared for downstream agents and content work (e.g. brainstorm + research handoffs synthesized from Notion, transcripts, and CRM). Plain Google Docs, named [Topic] Handoff — [Detail]. |
When Shaw says "the forms folder" or "my response sheets," use the IDs above directly.
Tool Cheatsheet
| Need | Tool |
|---|---|
| Find files by query | search_files (Drive query syntax) |
| Recently touched | list_recent_files |
| File metadata only | get_file_metadata |
| Read content as text | read_file_content |
| Download as bytes (base64) | download_file_content |
| Permissions | get_file_permissions |
| Create new file | create_file |
| Copy file | copy_file |
Connector Quirks (have actually bitten)
mimeType = 'application/vnd.google-apps.form'returns nothing. The mimeType filter doesn't work for Forms specifically. Fall back to title-based search (title contains 'form' or title contains 'intake' or ...) or filter by the known forms folder'sparentId.- Forms can't be read or downloaded.
read_file_contentrejects Forms ("unsupported mime type") anddownload_file_contenterrors internally. To see form questions or responses, open the linked response sheet in thesheetsfolder. - No deep-link to individual form responses. Without a Forms-specific MCP, the per-respondent edit URL isn't reachable — only the form's
#responsessummary URL. Tell Shaw this and offer the response-sheet row instead. - Shortcuts vs. files. The
formsfolder contains both real Forms (application/vnd.google-apps.form) and shortcuts (application/vnd.google-apps.shortcut). Shortcuts point to files shared into the workspace from elsewhere. When listing, surface both; when reading, resolve to the target ID first. - Title search is case-insensitive but returned titles preserve case. Don't echo a casing different from the file's actual name.
- Files that aren't shared in aren't reachable. If a folder's
parentIdlookup returns empty but you saw the folder ID in metadata earlier, it's likely owned by another account and only individual files are shared — not the whole folder. Stop and tell Shaw rather than guessing. create_fileonly auto-converts plain text into a native Google Doc. When the goal is an editable Google Doc (not a raw file sitting in Drive), upload the body ascontentMimeType: 'text/plain'— Drive convertstext/plain→application/vnd.google-apps.documentandtext/csv→ Sheets. Uploadingtext/markdownortext/htmldoes not convert: you get a raw.md/.htmlfile with the markup left literal, even though you'd expect Drive to render it. So when Shaw wants a clean Doc, flatten the content to plain text rather than passing Markdown/HTML. Confirm by checking themimeTypeon the returned object —application/vnd.google-apps.documentmeans it converted; anything else means it's a raw file. (Conversely, when the file should stay a real.md/.html— e.g. uploading an actual skill or code file — pass its nativecontentMimeTypewithdisableConversionToGoogleType: trueso it isn't turned into a Doc.)- A date string inside
title containsdoesn't filter reliably. Drive tokenizes titles, and a slash-formatted date is not treated as one atomic term — sotitle contains '[Company]' and title contains '2026/08/06'returned a file titled... - 2026/06/25 08:59 CDT - Transcript. The clause that should have excluded it silently passed it through. Bound dates withcreatedTime/modifiedTimecomparisons instead; reservetitle containsfor names and words. This one is nasty because it fails open — you get a confident-looking wrong file rather than an empty result. - Folder anchoring fails silently when the folder stops being the destination. A
parentId =clause on a folder that's no longer receiving files returns{}— indistinguishable from "the file doesn't exist yet." Any hardcoded folder ID is a standing assumption about where a Google product writes, and Google changes that without notice (see theMeet Recordingsrow). When aparentId-scoped search comes back empty for something that should exist, re-run it unscoped before concluding the file isn't there. - There's no delete, trash, move, or in-place-update tool. The connector can create, copy, and read, but a botched
create_filecan't be cleaned up programmatically — it leaves an orphan in Drive. This is why the format matters on the first call (quirk #7): get it right rather than iterating. If duplicates do get created, tell Shaw to trash them manually instead of trying to fix it through the connector. read_file_contenttruncates a large file silently, mid-row. Past roughly 75K characters the connector cuts the content off and returns what's left as a well-formed-looking table — the last row simply ends mid-cell, with no marker and no error. Like quirk #8 this fails open: a row count taken from that output is an undercount you'd never notice. Before trusting a read as complete, check that the tail of the content ends where the file does. When the rows are being counted, diffed, or reconciled against another system, skipread_file_contententirely —download_file_contentwithexportMimeType: 'text/csv'returns the whole file as base64, which decodes and parses in bash without passing through the context window at all.
Search Query Syntax
search_files uses Drive's query language. Combine clauses with and, or, not, parentheses. String values must be single-quoted.
| Clause | Example |
|---|---|
| Title contains | title contains 'invoice' |
| Title exact | title = 'My Doc' |
| MIME type | mimeType = 'application/vnd.google-apps.spreadsheet' (works for most types — not Forms; see Quirks) |
| Folder | parentId = '<folder_id>' — use 'root' for top-level My Drive |
| Fulltext | fullText contains 'OAuth' (matches title or body) |
| Owner | owner = 'me' or owner = 'someone@example.com' |
| Shared | sharedWithMe = true |
| Date | modifiedTime > '2025-01-01T00:00:00Z' |
When the mimeType filter misbehaves, batch keyword variants:
title contains 'form' or title contains 'survey' or title contains 'intake' or title contains 'feedback' or title contains 'application'
Common Workflows
"Find me X" (general lookup)
- If Shaw names a known folder (forms, sheets), go straight to
parentId =— don't fuzzy search the whole Drive. - Otherwise: title-based search first. Add
fullText containsas a fallback if title hits nothing. - Return 5-10 hits. If >25, narrow before returning everything.
"What does X say?" (read content)
- Try
read_file_contentfirst — handles Docs, Sheets, Slides, PDFs, Office formats. - If the connector rejects the mime type (Forms, video, audio, images), use
download_file_contentfor bytes. For Forms specifically, jump to the linked response sheet instead. - Quote sparingly. Don't dump full files.
"Pull responses for the X form"
- Look in the
sheetsfolder for a sheet whose title is<form name> (Responses). read_file_contenton the sheet — questions are columns, responses are rows.- The form itself can't be read directly; the response sheet is the canonical source.
- When the responses are going to be counted or diffed against another system (a Kit tag, a Notion database), download the sheet as CSV instead and parse it in bash — a silent truncation (quirk #11) turns into a list of people who look missing but aren't.
"Where's that file I [made / shared / opened] last week?"
list_recent_files with orderBy: 'lastModifiedByMe' or 'recency'. Faster than searching.
"What's in the [folder name] folder?"
- Known folder → use the hardcoded ID.
- Unknown folder →
title = '<folder name>' and mimeType = 'application/vnd.google-apps.folder'to find the folder ID, thenparentId = '<id>'. - If
parentId =returns empty for a folder that should have contents, the folder is likely owned by another account and not actually accessible — flag this to Shaw.
"Find the transcript for a call"
Google Meet auto-saves a transcript as a Google Doc titled
[Name or Company] / Shaw - [Type] - YYYY/MM/DD HH:MM TZ - Transcript
(e.g. [Name] / Shaw - Coffee Chat - 2026/08/06 15:29 CDT - Transcript). This is the retrieval
primitive other skills reuse — the transcript-linking workflow in notion-helper →
references/transcript-linking.md calls it. Keep this skill's job to finding the file; linking
it onto a Notion page is notion-helper's job.
Search Drive-wide, not by folder. Meet used to deposit everything in one folder; since
~2026-07-25 it creates a fresh folder per transcript, so there's no stable parent to anchor to and
a parentId clause returns empty rather than erroring (quirk #9). Two stable signals remain: every
transcript's title ends in Transcript, and createdTime is within seconds of the meeting ending.
Given a name and a date (the caller supplies them — e.g. from an ABA Calls / ABA Trainings page):
- Bound the day with
createdTime, and match the name as a word — never put the date insidetitle contains(quirk #8):title contains 'Transcript' and title contains '[Name]' and createdTime > '2026-05-24T00:00:00Z' and createdTime < '2026-05-25T00:00:00Z' - If that returns empty, drop the name and re-run with the date bounds alone. This separates "this person's transcript is missing" from "nothing recorded that day," which are different problems with different fixes — and it catches titles that don't carry the expected name.
- Return the match(es) with
viewUrl. If more than one comes back for the same day, hand the disambiguation to the caller (it has the Calendar event's exact start time) rather than guessing here.
Edge cases:
- A stub is not a transcript. A call nobody joined still produces a file, ~1024 bytes, with the
expected title. Real transcripts run roughly 9–40 KB. Check
fileSizebefore treating a hit as evidence the call happened — and note a single no-show slot can emit more than one stub. - Transcripts only exist for meetings Shaw organized and held on Meet. Calls on Zoom or another platform will never appear here at all; that's a permanent absence, not a pending one.
- Unscheduled instant meetings are named by meeting code (e.g.
abc-defg-hij) instead of a person, so a name search won't catch them — fall back to the date bounds.
"Save this to Drive" / create a doc or file
Decide the destination format first, because the upload mime type drives the outcome (quirk #7):
- A clean, editable Google Doc (handoffs, briefs, notes Shaw will read/edit in Drive): flatten
the content to plain text and pass
contentMimeType: 'text/plain'. Use plain-text structure (CAPS headers, indentation, dashes) — Markdown/HTML symbols would otherwise show up literally. Confirm the returnedmimeTypeisapplication/vnd.google-apps.document. - The actual file, preserved as-is (a skill's
SKILL.md, code, a real.md/.csv): pass the nativecontentMimeType(e.g.text/markdown) withdisableConversionToGoogleType: trueso Drive keeps the bytes instead of converting to a Doc. - Set
parentIdto drop it in a known folder; omit it to land in My Drive root. - There's no undo (quirk #10) — get the format right on the first call rather than creating, checking, and re-creating.
- Binary files (PNGs, PDFs, video): copy the file into the local Drive mount
(
~/Library/CloudStorage/[email]/My Drive/<path>) rather than base64-ing it throughcreate_file. A 2x render runs to megabytes, all of which would pass through the context. Drive for desktop uploads it, but the connector can't see it until that sync lands, so an immediatesearch_filescomes back empty, which looks like the file is missing (the same fail-open shape as quirk #9). Search again after the sync, then link with the returnedviewUrl.
Linking Back to Shaw
When sharing a file:
- Google native (Doc/Sheet/Slide): use the
viewUrlfrom the API. - Form:
https://docs.google.com/forms/d/<id>/edit— append#responsesto land on the responses tab. - Folder:
https://drive.google.com/drive/folders/<id>
Always copy the URL the API returns; don't hand-craft.
If a question hits a quirk not listed here (new error, unexpected mime type behavior), surface it to Shaw rather than guessing. The connector is undocumented in places.


