obsidian_update_frontmatter
Update YAML frontmatter metadata in Obsidian notes without changing content. Add or modify tags, status, and custom properties while preserving all existing note content.
Instructions
Update YAML frontmatter metadata without modifying note content.
Add or update metadata fields like tags, status, or custom properties in
Zettelkasten notes while preserving all content.
Args:
params (UpdateFrontmatterInput): Contains:
- filepath (str): Path to file
- updates (Dict): Frontmatter fields to add/update
Returns:
str: Success message with updated frontmatter
Example:
Add tags to existing note: updates={'tags': ['zettelkasten', 'systems-thinking']}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Input Schema (JSON Schema)
{
"properties": {
"params": {
"$ref": "#/$defs/UpdateFrontmatterInput"
}
},
"required": [
"params"
],
"type": "object"
}