write_note
Create or update notes in an Obsidian vault by specifying the path and content. Choose to overwrite, append, or prepend content for flexible note management.
Instructions
Create or update a note in the vault
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content of the note | |
mode | No | How to handle existing content | overwrite |
note_path | Yes | Path to the note relative to vault root | |
vault_path | Yes | Path to the Obsidian vault |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"description": "Content of the note",
"type": "string"
},
"mode": {
"default": "overwrite",
"description": "How to handle existing content",
"enum": [
"overwrite",
"append",
"prepend"
],
"type": "string"
},
"note_path": {
"description": "Path to the note relative to vault root",
"type": "string"
},
"vault_path": {
"description": "Path to the Obsidian vault",
"type": "string"
}
},
"required": [
"vault_path",
"note_path",
"content"
],
"type": "object"
}