create_note
Create a new note in an Obsidian vault at a specified path, with optional frontmatter and body content. Parent directories are made automatically, and existing notes are preserved unless overwrite is explicitly enabled.
Instructions
Create a new note at a vault-relative path. Optionally sets frontmatter and body content. Parent directories are created automatically. Fails if the note already exists unless overwrite is true (prevHash may guard the overwrite).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Vault-relative path, e.g. "Daily Notes/2026-06-01.md". | |
| content | No | Body content for the note. | |
| prevHash | No | Optional compare-and-swap guard: the contentHash from a prior read. Fails with hash_conflict if the note changed since. | |
| overwrite | No | Overwrite an existing note. Defaults to false. | |
| frontmatter | No | Frontmatter key-value pairs. |