update_frontmatter
Merge properties into an Obsidian note's frontmatter, create frontmatter when missing, and remove keys by setting null while leaving other keys and the note body unchanged.
Instructions
Merge properties into a note's frontmatter (creates it if absent). A null value removes that key. Other keys and the body are 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": {
"file": "<file>"
},
"name": "update_frontmatter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | ||
| file | Yes | Note path ("Folder/Note.md"), path without .md, note name, alias, or [[wikilink]] | |
| vault | No | Vault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian. | |
| remove | No |