frontmatter.set
Set a specified key in a note's frontmatter, supporting nested keys via dot notation. Creates the frontmatter block if it does not exist.
Instructions
Set a (possibly nested via dot-notation) key in the file's frontmatter. Creates the frontmatter block if absent. Requires expected_frontmatter_hash unless file has no frontmatter yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| value | Yes | ||
| vault | No | ||
| dry_run | No | ||
| keyPath | Yes | ||
| expected_frontmatter_hash | No |