obsidian_upsert_note
Create or replace a note in your Obsidian vault. Supports merging frontmatter with existing YAML to preserve metadata.
Instructions
Create or replace a note. Can merge supplied frontmatter with existing frontmatter.
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": "obsidian_upsert_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | No | Optional configured vault name. Defaults to the server default vault. | |
| path | Yes | Vault-relative path. Absolute paths and traversal are rejected. | |
| content | No | ||
| frontmatter | No | YAML frontmatter object. | |
| mergeFrontmatter | No |