Promote model to template
layerz_promote_templatePromotes a model the caller owns into a reusable template in place: no copy, the model keeps its content and stays editable, and it appears in layerz_list_templates. Its usage guide is the model's FINANCE.md. scope: 'user' (default) is private and Pro-gated; scope: 'system' publishes into the curated catalog visible to every account and is admin-only. Not advertised to model-scoped or read-only keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template title; renames the model in place when it differs. | |
| scope | No | `user` (default): private, owner-only, Pro-gated. `system`: curated public catalog, admin-only. | |
| summary | Yes | Short note (3–100 chars) describing the change, stored as the label of the resulting version. Examples: "Renamed Revenue to Net Revenue", "Imported 2024 OPEX from Excel". | |
| model_id | No | Target model UUID. Required for user-scoped API keys; validated against the bound model for model-scoped keys. | |
| description | No | Usage guide (FINANCE.md). The model keeps its own when omitted. |