update_frontmatter
Set or update frontmatter fields in Obsidian notes to organize metadata like status and tags. Creates frontmatter if it doesn't exist.
Instructions
Set or update a frontmatter field in a note. Creates frontmatter if absent.
Args:
path: Relative path to the note.
key: Frontmatter key to set (e.g. 'status', 'tags').
value: Value to set. Use comma-separated values for lists (e.g. 'tag1,tag2').
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>",
"key": "<key>",
"value": "<value>"
},
"name": "update_frontmatter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| key | Yes | ||
| value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |