update_frontmatter
Upsert or delete YAML frontmatter properties on an existing note while preserving its body. Use it to update note metadata without rewriting Markdown content.
Instructions
Upsert or remove (null) YAML frontmatter properties on an existing note while preserving 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": {
"note": "<note>",
"properties": "<properties>"
},
"name": "update_frontmatter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | Relative path, note title, or alias. | |
| vault | No | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. | |
| properties | Yes | Key-value pairs to merge into YAML frontmatter (null removes key). |