Create authoring draft
create_template_draftInitialize a Page Template draft to author custom slide layouts, layers, and slot contracts. Returns a draftId and authoringStudioUrl for real-time visual canvas editing.
Instructions
Initialize a new Page Template draft for authoring with custom layout, layers, and slot contracts. Use when authoring a new slide template from scratch. Do NOT use to edit an existing draft (use update_template_draft) or browse public templates (use list_templates). Requires workspace owner authorization. Returns created TemplateDraft record with draftId and interactive authoringStudioUrl for real-time visual canvas editing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable title for the template draft. | |
| theme | No | Default theme overrides (palette, typography tokens). | |
| source | No | Optional initial canvas source tree. | |
| authoringSource | No | Template AST structure including layer hierarchy and visual slots. | |
| selectionMetadata | No | Aspect ratio and categorization metadata (platforms, layout family, intent). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Unique draft ID. | |
| authoringStudioUrl | No | Direct browser link to Studio visual canvas editor. |