insert_template
Render a template and insert it into an existing note at the end, top, or under a heading, while merging template properties into the note's frontmatter.
Instructions
Render a template and insert it into an existing note (at the end, the top, or under a heading). Template properties are merged into the note's frontmatter.
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": {
"file": "<file>",
"template": "<template>"
},
"name": "insert_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Note path ("Folder/Note.md"), path without .md, note name, alias, or [[wikilink]] | |
| vault | No | Vault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian. | |
| heading | No | ||
| position | No | ||
| template | Yes | ||
| variables | No |