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.
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>",
"metadata": "<metadata>"
},
"name": "update_frontmatter"
}
}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 |