Apply Template
apply_templateGenerate a new note by applying a template with dynamic variable substitution for date, time, and title. Supports custom date formats and optional overwrite of existing notes.
Instructions
Create a new note from an existing template note (path, title, or alias), substituting Obsidian's core Templates plugin variables: {{date}}, {{date:FORMAT}}, {{time}}, {{time:FORMAT}}, {{title}}. FORMAT supports YYYY/YY/MM/DD/HH/mm/ss tokens. Templater-only syntax (<% %>) is not evaluated and is left as literal text. Fails if the target note already exists unless overwrite is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Vault-relative path for the new note, e.g. 'Daily/2026-01-01' (`.md` is added automatically). | |
| template | Yes | Template note's path, title, or alias. | |
| overwrite | No | Replace the note if it already exists (default false). | |
| frontmatter | No | Extra frontmatter fields to merge in on top of the rendered template's own frontmatter. |