obsidian_write_file
Write or update a file in an Obsidian vault by specifying a vault-relative path and content. Use it to create notes or modify existing files through the MCP server.
Instructions
Write or update content to a file in the Obsidian vault.
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": "obsidian_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file relative to vault root | |
| content | Yes | Content to write to the file |