update
Update Markdown frontmatter properties by adding, overwriting, or removing keys in a single file. Creates frontmatter if missing.
Instructions
Update frontmatter properties in a single file.
Args: path: File path relative to base directory. set: Properties to add or overwrite. Values are applied as-is (null becomes YAML null, empty string becomes empty value). unset: Property names to remove completely.
Returns: Dict with path and updated frontmatter.
Notes: - If same key appears in both set and unset, unset takes priority. - If file has no frontmatter, it will be created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | ||
| path | Yes | ||
| unset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||