obsidian_write_note
Create or modify notes in Obsidian with content, frontmatter, and multiple write modes for Zettelkasten workflows.
Instructions
Create or modify notes with content and optional frontmatter.
Primary tool for Zettelkasten note creation. Supports multiple modes:
- CREATE: Only creates new notes (safe, won't overwrite)
- OVERWRITE: Replaces entire file
- APPEND: Adds content to end
- PREPEND: Adds content to beginning
Args:
params (WriteNoteInput): Contains:
- filepath (str): Where to write the note
- content (str): Note content
- mode (WriteMode): create/overwrite/append/prepend (default: create)
- frontmatter (Dict, optional): YAML frontmatter metadata
Returns:
str: Success message with note location
Example:
Create atomic note: filepath="Zettelkasten/202411061234 Systems Thinking.md",
content="# Systems Thinking...", frontmatter={'tags': ['zettelkasten', 'concepts']}
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |