create_note
Create notes in Obsidian by writing content to a vault-relative path, with optional frontmatter and overwrite protection via hash guarding.
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. |