Write Obsidian Note
obsidian_write_noteCreate or update a note in Obsidian with markdown content and optional frontmatter; directories auto-created. Set overwrite=false to prevent overwriting existing notes.
Instructions
Create or update a note in the vault.
Provide markdown content and optionally YAML frontmatter. Directories are created automatically if they don't exist. Set overwrite=false to prevent overwriting existing notes.
Returns the created/updated note metadata.
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>",
"content": "<content>"
},
"name": "obsidian_write_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path for the note (e.g., "folder/note.md") | |
| content | Yes | Markdown content of the note | |
| overwrite | No | If false, fails when note already exists | |
| frontmatter | No | YAML frontmatter metadata as key-value pairs |