Find and replace in the copy
replace_in_copyReplaces a word or phrase everywhere in a demo’s copy, in one save: guided steps (titles, bodies, button labels, choice labels), clickable hotspots (labels and hover hints), the description, personalization defaults and guide overrides; narration scripts too with includeNarration (their clips then need generate_voiceovers again). {{variables}} are never touched. Case-insensitive unless matchCase; wholeWord skips matches inside longer words. dryRun only counts and lists the places. Not the demo title (update_demo) and not the text on the screens themselves (screenshots and HTML pages: the demo editor’s Find & replace). Saved to the draft; revision history keeps the old copy.
Requires: demos:read, demos:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | ||
| demoId | Yes | Demo id (from list_demos), e.g. "d_Ab12Cd34Ef56Gh78". | |
| dryRun | No | Only count and list the places; nothing is saved. | |
| replace | Yes | ||
| matchCase | No | ||
| wholeWord | No | ||
| includeNarration | No | Also narration scripts (voiceovers). |