generate-asset-tool
ChatGPTGenerates an email or landing page asset inside a campaign folder. Accepts a creative prompt describing the desired content, plus optional parameters for asset name, subject line, theme, sender details, tags, images, and file attachments. Generation is asynchronous; the response returns an asset ID and progress URLs. Required: ask the user for a creative prompt and confirm the campaign name (and brand name when there is more than one brand) before calling this tool. Use list-brands and list-campaigns to discover valid names. After this tool returns, a progress widget appears above your reply and renders the asset preview inline once generation finishes. In your reply, mention that the preview will be generated in the widget above. Do not offer a separate "you can open it here" link — the widget surfaces a "View in Knak" button when ready. Do not ask the user if they want a preview; the preview is shown automatically.






