Edit Template Draft
update_template_draftEdit a non-active draft template by updating its source or display name, and optionally validate to save and test-compile in one call.
Instructions
Edit a draft template; changing the source resets it to 'draft'. Pass validate=True to save + test-compile in one call (returned status/last_error show the result); otherwise re-validate separately. The active default template cannot be edited through these tools (the backend rejects it).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | ||
| validate | No | ||
| template_id | Yes | ||
| display_name | No |