Generate ad copy
Generate ad copy (headlines, primary text, descriptions) and store it as a copyGenerationId.
Tool name: generate-copy.
Generate ad copy (headlines, primary text, descriptions) and store it as a copyGenerationId. The id is what the user later approves and attaches via update-node, generation alone does not change any ad. Brand context (name, URL, business type, voice) is auto-loaded server-side. When the brand has none of it saved, the call is refused: ask the user what the brand sells or read its website, and pass it as productDescription.
When to use
Generate ad copy. Returns a copyGenerationId, call this freely to produce candidates; nothing is attached to any ad until you call update-node(copyGenerationId=…). Brand context is auto-applied; ask the user what the brand sells (or read its website) only when this tool refuses for missing brand context. When creatives are attached, always pass their IDs via creativeIds.
Access
| Property | Value |
|---|---|
| Required scope | write |
| Publishes | No |
| Read-only | No |
| Destructive | No |
| Idempotent | No |
| Open world | Yes |
Input
| Field | Type | Required | Description |
|---|---|---|---|
platform | string | Yes | Target platform. Only facebook and instagram are supported, the value is stored as the copy's platform label. One of facebook, instagram. |
tone | string | No | Tone: professional, casual, urgent, friendly. Optional, defaults to brand voice. |
angle | string | No | Marketing angle. Optional, only pass if the user requested a specific framing. |
productDescription | string | No | What the product is, in the user's words or from the brand's website or another web page you read; never invented. The backend fills product context from the brand (name, URL, business type, voice); pass this when the user gave specifics that should take precedence, or when this tool asked for it. If the user explicitly asks for generic copy anyway, pass a productDescription that says no specifics are known, and tell them the copy names no product specifics, for them to fill in. |
creativeIds | number[] | No | IDs of creatives attached to this chat. When present, the backend pulls each creative's name + stored visual analysis and feeds it to the copy LLM so the copy matches what the ad actually shows. Pass whenever creatives are listed in the ## Attachments block. Never call readDocument on image MIME types, use this param instead. |
Output
The tool catalog does not declare an output schema for this tool.
REST equivalent
POST /v1/brands/{brandId}/copies, Generate ad copy. CLI: koast generate-copy.