Append to Note
appendAdd text to the end of an existing Markdown note without reading it first, designed for logs and journal entries. Avoids loading file content into context; index updates automatically.
Instructions
Append text to the end of an existing .md note without reading it.
The cheapest way to add content at the end of a note (log entries, journal additions, checklist items): unlike 'edit', no prior 'read' is needed, so the existing note content never enters the context. Prefer this over 'edit' whenever the change is purely additive at the end of the note.
A newline is inserted between the existing content and the appended text when the file does not already end with one, so the appended text starts on its own line. Include leading blank lines or heading markers in 'content' yourself if you want a separating paragraph or section. The search index is updated immediately; do not call 'reindex' afterward.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path to the document (e.g. "Journal/2026.md"). | |
| content | Yes | Text to append (must be non-empty). Added at the end of the file, after frontmatter and all existing content. | |
| if_match | No | Optional etag obtained from a previous 'read' call. When provided, the append only proceeds if the file has not been modified since that read (optimistic concurrency). Omit to append unconditionally. | |
| create_if_missing | No | When true, a missing note is created with 'content' as its body instead of failing. Default false — a typo in 'path' fails loudly rather than silently creating a new note. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||