update_frontmatter
Update YAML frontmatter in notes, merging with existing metadata or replacing it. Remove fields by setting null values.
Instructions
Update the YAML frontmatter of a note. By default merges with existing frontmatter. Set replace=true to replace all frontmatter. Set a value to null to remove a field.
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>",
"updates": "<updates>"
},
"name": "update_frontmatter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the note | |
| replace | No | If true, replace all frontmatter instead of merging (default: false) | |
| updates | Yes | Key-value pairs to update (e.g., {"status": "done", "priority": 1}) |