append_markdown
Append formatted markdown to the end of a Google Docs tab without altering existing content. Use dry_run to preview changes; get verification that the write landed.
Instructions
Append compiled markdown at the end of a document tab.
Use this tool when you need to add new content at the end of a tab without disturbing existing content. Inserts before the final trailing newline.
Set dry_run=true to validate and preview without writing.
The returned payload (applied, revisions, structural_match, input_blocks/ post_blocks) is itself the confirmation the write landed — it already re-read the document and diffed it against the input. A follow-up read_document to double-check is a redundant round-trip; only re-read if you need the content for a subsequent step.
Errors: UNSUPPORTED_MARKDOWN – markdown contains an unsupported construct TAB_NOT_FOUND – tab_id not in document REVISION_CONFLICT – document changed mid-call; re-read and retry
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| tab_id | Yes | ||
| dry_run | No | ||
| markdown | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||