docs_read_text
Fetch a Google Doc's body text using the document ID from its URL, returning title and plain-text content. Review what is actually there before rewriting the document body.
Instructions
Read a Google Doc's text content via the Docs API.
document_id is the token in the Doc's URL
(docs.google.com/document/d/<document_id>/edit). Returns
{"document_id", "title", "text"} — the plain text of the body,
paragraphs joined with newlines, formatting not represented. Read
before docs_replace_body so the rewrite starts from what is
actually there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||