enquire-mcp API reference - v3.9.0-rc.4
    Preparing search index...

    Function appendToNote

    • Append content to the end of an existing note, with a configurable separator.

      Resolves the target by path or title (same fuzzy-match as wikilinks). The default separator is "\n\n" — a blank line — so appends read as a new paragraph. Pass separator: "" for raw concatenation. WRITE TOOL — only registered when the server is started with --enable-write.

      Parameters

      • vault: Vault

        The vault. Must allow writes.

      • args: { content: string; path?: string; separator?: string; title?: string }

        One of path or title is required. content is the text to append. separator defaults to "\n\n".

      Returns Promise<{ appended_bytes: number; mtime: string; path: string }>

      { path, mtime, appended_bytes } — the appended byte count includes the separator.

      If the vault is read-only or the target can't be resolved.

      If path resolves outside the vault.

      await appendToNote(vault, {
      path: "Journal/2026-05-15.md",
      content: "Afternoon: shipped v3.6.0-rc.3",
      separator: "\n\n## "
      });