add_to_array_field
Add values to array fields in Obsidian frontmatter, such as tags or aliases. Creates the field if it doesn't exist, ignoring duplicates.
Instructions
Add values to an array field in frontmatter (e.g., tags, aliases). Creates the field if it does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the note | |
| field | Yes | Name of the array field (e.g., "tags", "aliases") | |
| values | Yes | Values to add to the array (duplicates are ignored) | |
| createIfMissing | No | Create the field if it does not exist (default: true) |