Edit a personal template
update_templateUse when changing the author's saved template. System templates and other users' templates cannot be edited.
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": {
"templateId": "<templateId>"
},
"name": "update_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the personal template, e.g. Weekly recap. | |
| locale | No | Language code, e.g. en or ru. | |
| category | No | Template category label, e.g. news. | |
| templateId | Yes | Template id returned by list_templates; select an owner-visible template. | |
| description | No | Short description of the template purpose. | |
| documentJson | No | Complete RichDocument working layout; see get_formatting_capabilities for syntax and preserve untouched blocks when replacing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| message | Yes |