template_extract
Extract a reusable content template from any post text. Optionally save it to your brand's template library for future use.
Instructions
AI extracts a reusable content template from a pasted post text. Synchronous (seconds) — no polling needed. Pass save=true to also persist the template to the brand's library. Returns the extracted template object; if saved, includes the new template id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | When true, the extracted template is saved to the brand's template library. | |
| brandId | No | Brand ID (defaults to active brand) | |
| postText | Yes | The full text of the post to deconstruct into a reusable template (min 10 chars). |