create_note_tool
Generate or replace notes in Obsidian by specifying a path and markdown content. Ideal for creating structured templates, programmatic documentation, or new notes with predefined data.
Instructions
Create a new note or overwrite an existing one.
When to use:
- Creating new notes with specific content
- Setting up templates or structured notes
- Programmatically generating documentation
When NOT to use:
- Updating existing notes (use update_note unless you want to replace entirely)
- Appending content (use update_note with merge_strategy="append")
Returns:
Created note information with path and metadata
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Markdown content for the note. Consider adding tags (use list_tags to see existing ones) | |
ctx | No | ||
overwrite | No | Whether to overwrite if the note already exists | |
path | Yes | Path where the note should be created relative to vault root |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"description": "Markdown content for the note. Consider adding tags (use list_tags to see existing ones)",
"examples": [
"# Meeting Notes\n#meeting #project-alpha\n\nDiscussed timeline and deliverables...",
"---\ntags: [daily, planning]\n---\n\n# Daily Note\n\nToday's tasks..."
],
"maxLength": 1000000,
"minLength": 0,
"title": "Content",
"type": "string"
},
"ctx": {
"default": null,
"title": "Ctx"
},
"overwrite": {
"default": false,
"description": "Whether to overwrite if the note already exists",
"title": "Overwrite",
"type": "boolean"
},
"path": {
"description": "Path where the note should be created relative to vault root",
"examples": [
"Ideas/New Idea.md",
"Daily/2024-01-15.md",
"Projects/Project Plan.md"
],
"maxLength": 255,
"minLength": 1,
"pattern": "^[^/].*\\.md$",
"title": "Path",
"type": "string"
}
},
"required": [
"path",
"content"
],
"type": "object"
}