Update Frontmatter
update_frontmatterUpdate YAML frontmatter fields on an existing Obsidian note while preserving its body content. Specify note path and fields to add or replace.
Instructions
Merge one or more fields into a note's YAML frontmatter without replacing its body.
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>",
"fields": "<fields>"
},
"name": "update_frontmatter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Existing note path, title, or alias. | |
| fields | Yes | Fields to add or replace. |