Merge pull request #237 from olibuijr/fix/mcp-template-create-note-keys
Fix create_note_from_template MCP tool: post templateName/notePath
This commit is contained in:
commit
a84b59ab24
|
|
@ -254,9 +254,10 @@ class NoteDiscoveryClient:
|
|||
Returns:
|
||||
APIResponse with creation result
|
||||
"""
|
||||
# The /api/templates/create-note endpoint reads `templateName` and `notePath`.
|
||||
data = {
|
||||
"template": template_name,
|
||||
"path": note_path,
|
||||
"templateName": template_name,
|
||||
"notePath": note_path,
|
||||
}
|
||||
if variables:
|
||||
data["variables"] = variables
|
||||
|
|
|
|||
Loading…
Reference in New Issue