update_frontmatter
Update a note's YAML frontmatter by merging new key-value pairs and removing specified keys, without altering the note body.
Instructions
Update a note's YAML frontmatter by key: merge set values (added or overwritten) and delete remove keys. The note body is left untouched.
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": "update_frontmatter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | Keys to add or overwrite, merged into existing frontmatter | |
| path | Yes | Vault-relative note path | |
| remove | No | Keys to delete from frontmatter |