Drive Cli
The owner's chosen Google Drive folders through drive, a WireCat CLI: import Docs, Sheets, PDF and docx as text, see who changed a document, and tag, note or edit one when asked. To find or read what a document says (even when the question names Google Drive), start with `wcat search all`; drive's own search and reads are the fallback when wcat is not installed.
Documentation & Preview
Changing documents
Local changes
tags add, notes add and memories extract --yes stay in the local store; Google sees none of them. memories extract sends the document's text to the owner's configured model: ask before running it on a document the owner has not named.
Google files
Commands that change Google files need a sign-in with --grant write and the owner's request.
A text, .docx or .xlsx file stored in Drive:
- Read it:
files download FILE_ID --json,files sheets showorfiles documents show. Keep itssha256. - Write it with
files update,files sheets updateorfiles documents updateand
--expected-fingerprint <sha256 you read>.
- A
conflictmeans it changed since you read it: read it again and redo the edit.
Never write back a text with truncated: true or with no sha256.
--read-only, or DRIVE_READ_ONLY=1 in the environment, refuses every change with exit 5.
MCP
Prefer the commands when you can run them. For a client that cannot (a chat app, a remote agent), drive personal mcp serve serves them over MCP, --http for ChatGPT and Claude in the browser: drive_tools_search finds a command, drive_read and drive_write run it, with the same profile and permissions as the command line. drive mcp serve --profiles work,personal (or --profiles all) serves several profiles; each call then names one.