Update template
update_templateUpdate a template's name, description, or project JSON. Validate replacement JSON before saving to prevent data loss.
Instructions
Rename a template, change its description, and/or replace its project JSON. Get the current template first so fields are not accidentally lost; replacement JSON is fully validated before saving.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| payload | No | Full Zvid project JSON (scenes, elements, output settings). Call get_project_schema for the JSON Schema, list_supported_elements / get_element_docs for element docs, and validate_project_json BEFORE rendering. | |
| templateId | Yes | Template ID, e.g. "tpl_AbC123..." (20 chars after the prefix) | |
| description | No |