Create Note
create_noteCreate a new markdown note at a given path with body content and optional YAML frontmatter. Prevents overwriting existing notes, auto-creates missing directories, and adds .md extension if omitted.
Instructions
Create a new markdown note at the given path with body content and optional YAML frontmatter. Fails (does not overwrite) if a note already exists at that path — use append_to_note, prepend_to_note, or update_frontmatter for existing notes. Missing directories are created automatically, and a .md extension is appended if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path from vault root, e.g., 'folder/note.md' or 'note' (.md added automatically) | |
| content | Yes | Markdown body content for the note (rendered below the frontmatter block if any) | |
| frontmatter | No | JSON object string of frontmatter key-value pairs (e.g., '{"status":"draft","tags":["idea"]}'). Rendered as YAML at the top of the note. |