| name | google-docs |
| description | Read and write Google Docs documents. Use for getting document content, creating documents, appending text, and searching. |
Google Docs
Read, create, and modify Google Docs via the Google Docs API.
Environment Variables
GOOGLE_DOCS_ACCESS_TOKEN - Google OAuth2 access token with Docs and Drive scopes
Commands
google-docs get <documentId>
google-docs create --title "My Doc" [--content "Initial text"]
google-docs append <documentId> --text "New paragraph"
google-docs list [-l limit]
google-docs search "quarterly report" [-l limit]
Output Format
JSON objects. Example for get:
{
"documentId": "1BxiMVs...",
"title": "My Document",
"content": "Full text content of the document...",
"revisionId": "ALm37BU..."
}