Set a frontmatter property
obsidian_set_propertySet a frontmatter property on a note, creating the frontmatter block if it does not exist.
Instructions
Sets a frontmatter property on a note. Creates the frontmatter block if missing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | No | Vault name to target. Optional — defaults to the most recently focused vault. | |
| file | No | Note name resolved as a wikilink (e.g. 'My Note'). Provide either `file` or `path`. | |
| path | No | Vault-root-relative path to the note (e.g. 'Folder/My Note.md'). Provide either `file` or `path`. | |
| name | Yes | Property name (key). | |
| value | Yes | Property value (string). |