Create note from template
create_from_templateCreates a new note from a template and fails if the target exists. Use it to scaffold notes with consistent structure.
Instructions
Create a new note from a template. Fails if the target note already exists.
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": {
"templatePath": "<templatePath>",
"targetPath": "<targetPath>"
},
"name": "create_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | No | Vault name. May be omitted when only one vault is configured; see list_vaults. | |
| variables | No | Template variables | |
| targetPath | Yes | Path for new note | |
| frontmatter | No | Additional frontmatter | |
| templatePath | Yes | Path to template file |