create_note
Create a new Markdown note in an Obsidian vault, adding optional YAML frontmatter and auto-creating parent folders. Prevents duplicate notes unless overwrite is enabled.
Instructions
Create a new note in the vault with optional YAML frontmatter. Parent folders are created automatically. Fails if the note already exists (unless overwrite=true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path for the new note relative to vault root (e.g. 'Projects/new-idea.md'). Extension .md is added automatically if missing. Parent folders are created as needed. | |
| content | Yes | Markdown content for the note body. | |
| overwrite | No | If true, overwrite an existing note at this path. Default is false (fails if note exists). | |
| frontmatter | No | Optional YAML frontmatter as a JSON object (e.g. { title: 'My Note', tags: ['idea', 'project'] }). |