Update Template
update_templateChange a template. Pass template_id or template_name, then the fields to overwrite; omitted fields stay. parameters, model_params and reference_asset_ids are replaced entirely. Kind cannot change. If html or prompt is replaced, every {{token}} must match a parameter, using the new parameters when passed in the same call.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | html kind: replacement markup. | |
| name | No | New name. | |
| sizes | No | Pass [] to clear and use width/height. | |
| width | No | html kind: new width. | |
| height | No | html kind: new height. | |
| prompt | No | generative kind: replacement prompt. | |
| parameters | No | Replacement parameter list. | |
| description | No | New description. | |
| skills_used | No | Optional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs. | |
| template_id | No | Template ID. Pass this or template_name. | |
| model_params | No | generative kind: replacement model parameters. | |
| template_name | No | Template name, ignoring case. Pass this or template_id. | |
| recommended_model | No | generative kind: new model ID. | |
| reference_asset_ids | No | generative kind: replacement reference assets. |