create_or_update_note
Create or update a note in Obsidian via REST API. Specify path, content, and optional frontmatter to insert or modify notes in your vault.
Instructions
Create or update a note with content and frontmatter. Performs upsert operation - creates if doesn't exist, updates if it does.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Note content | |
frontmatter | No | Frontmatter metadata | |
path | Yes | Path for the note (without .md extension) |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"description": "Note content",
"type": "string"
},
"frontmatter": {
"default": {},
"description": "Frontmatter metadata",
"type": "object"
},
"path": {
"description": "Path for the note (without .md extension)",
"type": "string"
}
},
"required": [
"path",
"content"
],
"type": "object"
}