vault_write
Create or update markdown files in Obsidian vaults to build knowledge bases, wiki pages, and notes with automatic directory creation.
Instructions
Write or overwrite a file in the Obsidian vault. Creates parent directories automatically. Use this to create new wiki pages, update existing ones, or save any markdown content.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"content": "<content>"
},
"name": "vault_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path for the file (e.g. 'notes/my-concept.md') | |
| content | Yes | Full markdown content to write (including frontmatter if needed) |