App Logo
docs.google.com

Google Docs: read a document

Automatically read a document on docs.google.com. Read a Google Doc the signed-in account can open: its title, its text, and its content in order as headings (with level), paragraphs, list items (with nesting depth and whether the list is numbered) and tables (cell by cell). Takes a document link or id. When the browser is signed in to several Google accounts, pass the account to read as.

Input

url required

Link to the Google Doc (https://docs.google.com/document/d/<id>/...) or the bare document id.

account optional

Google account to read as when the browser is signed in to several. Without it, Google Docs picks the account itself.

Output

id required
url required
text required

The document's text, one line per paragraph, list item or table row (cells separated by tabs).

title required
blocks required

The document's content in order.

FAQ

Read a Google Doc the signed-in account can open: its title, its text, and its content in order as headings (with level), paragraphs, list items (with nesting depth and whether the list is numbered) and tables (cell by cell). Takes a document link or id. When the browser is signed in to several Google accounts, pass the account to read as.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/get_document, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/get_document
You do not need one. "Google Docs: read a document" drives the real docs.google.com pages in a browser, so it works whether or not docs.google.com offers an API for this.
Required: url. Optional: account.
It returns id, url, text, title, blocks.
Yes. It acts as you on docs.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the docs.google.com cookies saved by the Reduck extension.
It only reads. It looks things up on docs.google.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/get_document, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/get_document
It is part of Reduck's official curated catalogue.

Start building not clicking