Append to Markdown
append_to_markdownAppend Markdown content to a file with automatic conflict handling. Uses optimistic concurrency to safely add notes, reports, or sections to existing documents.
Instructions
Append content to the end of an existing .md file using optimistic concurrency (GET current -> concat -> PUT with base_version_no). Auto-retries once on conflict, then surfaces CONFLICT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | POSIX path to the .md file, e.g. 'reports/2026/error-report.md'. Folders auto-created. | |
| content | Yes | Markdown to append. A newline separator is inserted if needed. | |
| commit_message | No | A concise 1-2 line summary of WHAT you appended and WHY, written for a human reviewer scanning the version history (stored on the new version, shown next to it on web & mobile). ALWAYS provide this — summarize the appended change yourself (e.g. 'Added the 2026-07 rollback postmortem section'). |