docs_fill
Fill Google Docs templates by replacing exact text and heading sections with markdown, applying template styles and reporting each change.
Instructions
Fill in a template document. replace: exact text → new text for placeholders or sample text (every occurrence, keeping its formatting). sections: heading text → markdown that replaces everything under that heading, typed in the template's styles. Reports each item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Google Docs URL or document id. | |
| 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. | |
| replace | No | e.g. {"{{name}}": "Dylan", "Wendy Writer, CEO": "Dylan Santwani, Founder"} | |
| sections | No | e.g. {"Attendees": "- Dylan\n- Pat", "Notes": "Shipped the bridge."} | |
| matchCase | No | Case-sensitive matching for replace. Default true. |