Getting Started
Tools
- Airtable
- Apollo
- ArXiv
- Bing
- Brave Search
- Calculator
- Clearbit
- Dexa
- Diffbot
- DuckDuckGo
- E2B
- Exa
- Firecrawl
- HackerNews
- Gravatar
- Google Custom Search
- Google Docs
- Google Drive
- Hunter
- Jina
- LeadMagic
- Midjourney
- MCP Tools
- Notion
- Novu
- Open Meteo
- People Data Labs
- Perigon
- Polygon
- Predict Leads
- Proxycurl
- Reddit
- RocketReach
- Searxng
- SerpAPI
- Serper
- Slack
- Social Data Tools
- Tavily
- Twilio
- Twitter
- Typeform
- Weather
- Wikidata
- Wikipedia
- Wolfram Alpha
- YouTube
- ZoomInfo
Tools
Google Docs
Simplified Google Docs API.
- package:
@agentic/google-docs
- exports:
class GoogleDocsClient
,namespace googleDocs
- source
- google docs docs
Install
npm install @agentic/google-docs googleapis @google-cloud/local-auth
Example Usage
import { GoogleDriveClient } from '@agentic/google-drive'
import { authenticate } from '@google-cloud/local-auth'
import { google } from 'googleapis'
// (in a real app, store these auth credentials and reuse them)
const auth = await authenticate({
scopes: ['https://www.googleapis.com/auth/documents.readonly'],
keyfilePath: process.env.GOOGLE_CREDENTIALS_PATH
})
const docs = google.docs({ version: 'v1', auth })
const client = new GoogleDocsClient({ docs })
const document = await client.getDocument({ documentId: 'TODO' })
console.log(document)
On this page
Assistant
Responses are generated using AI and may contain mistakes.