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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "create_note"
}
}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. |