Read a Google Doc
read_docRead the text of a Google Doc using its document ID or URL. Returns plain text for any doc Hermoso can access.
Instructions
Read the text of a Google Doc Hermoso can reach — one it created, or one the user handed over with the Google file picker in the app (that is how an EXISTING doc becomes readable; find its id with list_drive_files). Pass documentId (from create_doc) OR paste a Google Docs URL as docUrl. Under the drive.file scope it reaches nothing else in the user’s Drive; if Google answers that the file was not found, the user has not picked it yet — ask them to pick it in the app rather than retrying. Returns the plain text. Read-only, free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docUrl | No | a Google Docs URL to read — the document id is extracted from it | |
| documentId | No | the document id (from create_doc) |