Rewrite copy with AI
rewrite_copyRewrites a demo’s copy with AtriumKit’s AI (the same strings as “Write with AI” in the editor), following instruction, e.g. "for a CFO audience, shorter, mention month-end close". Covers every step (guided: titles, bodies, button labels, choice labels; a card with choices has no button) or hotspot (clickable: labels, hints), or just stepIds / fields; optionally the demo title and description. {{variables}} in the copy are kept. Navigation links made by stitching ("auto") are left alone unless you name them in stepIds; then only their label is rewritten, once per link group, so the same control reads the same on every screen. With apply (default) the result is saved to the draft (revision history keeps the old copy); otherwise you get suggestions to review. Uses the workspace’s AI credits (1 per 20 strings).
Requires: demos:read, demos:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Save the result (false: return suggestions only). | |
| demoId | Yes | Demo id (from list_demos), e.g. "d_Ab12Cd34Ef56Gh78". | |
| fields | No | Only these fields (default: all). "choice": the labels of branching choices. | |
| stepIds | No | Only these steps or hotspots (default: all). | |
| instruction | Yes | ||
| includeTitle | No | Also rewrite the demo title. | |
| includeDescription | No | Also rewrite the description. |