update_frontmatter
Update YAML frontmatter on an existing Markdown note. Performs a shallow merge, replacing arrays and objects; optionally replace all frontmatter.
Instructions
Update YAML frontmatter on an existing Markdown note.
Only .md is supported. Merge is shallow, so arrays and objects are replaced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | vault-relative path, such as 'folder/note.md' | |
| merge | No | shallow-merge when true, otherwise replace all frontmatter | |
| metadata | Yes | new metadata, such as {"status": "done", "priority": 1} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |