Get authoring draft
get_template_draftFetch full template draft details by draftId to inspect layer AST, slot contracts, theme bindings, and validation errors before updating or publishing.
Instructions
Fetch complete authoring draft details by draftId, including full layer AST, slot contract definitions, theme bindings, and validation error logs. Call before update_template_draft or publish_template_draft to inspect draft structure and check validation status. Alternatives: Use list_template_drafts to discover draftIds. Read-only query scoped to draft owner. Returns full TemplateDraft AST entity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | The unique draft identifier to retrieve. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Draft ID. | |
| name | No | Draft name. | |
| authoringSource | No | Layer AST and slots. |