docs_export
Download a Google Doc to a local file in formats such as docx, pdf, markdown, text, html, odt, rtf, or epub, with optional overwrite and account selection.
Instructions
Download a Google Doc to a local file as docx, pdf, odt, rtf, epub, markdown, text or html.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Google Docs URL or document id. | |
| path | Yes | Absolute file path to write. The extension is added if missing. | |
| format | Yes | ||
| account | No | Which signed-in Google account to use: an index as in /u/N/ URLs (0 = first account) or an email address. Omit for the browser default. Use this for documents owned by a second (e.g. school) account. | |
| overwrite | No | Replace an existing file. Default false. |