Save a template
save_templateSave a form for later, only when the person asks to keep one: without template_id a new template with name and content; with template_id and the revision of your get_template, a change of that one, only what you send (name, content or both). A name another template has answers name_taken with details.template_id: choose another name, or change that template. stale_revision: it changed since your read, read it again. lossy_markdown: Markdown would drop the template's formatting; send {"document": …}. limit_reached: the workspace holds 100. Can add notes changes only the templates this connection saved; Can edit and organize, any. Templates are deleted only by the person. Answers a receipt with the template's id (entity_id), revision and url; the same operation_id answers it again and never saves twice.
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": {
"operation_id": "<operation_id>"
},
"name": "save_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 1–80 characters. A new template needs it; a change sends it to rename. | |
| content | No | The form, as create_note takes content: Markdown, {"text": …} or {"document": …}. No images or files, and checklist items unticked (- [ ]). A new template needs it; a change sends it to change the form. | |
| revision | No | With template_id: the revision get_template answered. | |
| template_id | No | To change a template: its id. Omit it to save a new one. | |
| operation_id | Yes | A new UUID for each write. After a lost answer, send the identical call with the same one, or check get_operation before writing again. |