Create Daily Note
create_daily_noteCreate a daily note for today or any date, with optional template-based content using Obsidian-style placeholders for date, time, and custom formats. Fails if the note already exists.
Instructions
Create a daily note for today (or a specific date) in the vault's configured daily-note folder using its configured filename format. Optionally seed the note from a template file with Obsidian-style placeholder substitution: {{date}} and {{title}} → the formatted date; {{time}} → local HH:mm; {{date:FORMAT}} / {{time:FORMAT}} → custom moment-style format. Fails if the daily note already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Target date in YYYY-MM-DD format (defaults to today). Determines filename and {{date}} substitution. | |
| content | No | Initial markdown body for the daily note. Ignored if templatePath is provided. | |
| templatePath | No | Relative path to a template note. Its content is copied into the new daily note with Obsidian-style placeholders substituted: {{date}}/{{title}} → formatted date, {{time}} → local HH:mm, and {{date:FORMAT}}/{{time:FORMAT}} → custom moment-style format. |