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.
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": {
"name": "<name>",
"value": "<value>"
},
"name": "obsidian_set_property"
}
}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). |