create_doc
Create a new Google Doc and insert content, with automatic Markdown-to-formatting conversion or plain text insertion.
Instructions
Creates a new Google Doc and optionally inserts initial content.
When parse_markdown=True (default), the content is parsed as Markdown and
converted to native Google Docs formatting (headings, bold, italic, lists,
links, code blocks, blockquotes). Set parse_markdown=False to insert
content as plain text without any formatting.
Args:
user_google_email: User's Google email address.
title: The title of the new document.
content: Optional initial content. Interpreted as Markdown by default.
parse_markdown: If True (default), parse content as Markdown and apply
formatting. If False, insert content as plain text.
checklist_mode: Checklist rendering mode for markdown task lists:
unicode (default) or native.
mention_mode: Mention rendering mode for markdown mentions:
text (default) or person_chip.
dry_run: When True (default), preview create/update actions without executing them.
Returns: str: Confirmation message with document ID and link.
Examples: # Create doc with Markdown content (default behavior) create_doc(title="My Doc", content="# Heading\n\nBold text")
# Create doc with native checklist bullets
create_doc(title="Checklist Doc", content="- [ ] One\n- [x] Two", checklist_mode="native")
# Create doc with plain text (no Markdown parsing)
create_doc(title="Plain Doc", content="# This is literal text", parse_markdown=False)Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| title | Yes | ||
| content | No | ||
| parse_markdown | No | ||
| checklist_mode | No | unicode | |
| mention_mode | No | text | |
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |