Create Note
obsidian_create_noteCreate a new Obsidian note with Markdown content and optional YAML frontmatter; parent folders are created automatically, and you can choose to overwrite an existing note.
Instructions
Create a new Obsidian note. Fails by default if the note already exists.
Parent folders are created automatically. Frontmatter is serialized as YAML at the top of the file. Use overwrite=true to replace an existing note.
Args:
path (string): Vault-relative path for the new note, e.g. "projects/new-idea"
body (string): Markdown content for the note body
frontmatter (object, optional): Key-value pairs to include as YAML frontmatter
overwrite (boolean): Replace the note if it already exists (default: false)
response_format: 'markdown' | 'json' (default: 'markdown')
Returns: Metadata of the created note.
Errors:
"Note already exists" if the note exists and overwrite=false
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>",
"body": "<body>"
},
"name": "obsidian_create_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Markdown content for the note body | |
| path | Yes | Vault-relative path for the new note | |
| overwrite | No | Replace the note if it already exists | |
| frontmatter | No | YAML frontmatter key-value pairs | |
| response_format | No | Output format: 'markdown' for human-readable, 'json' for machine-readable | markdown |