Refine a booth draft
refine_boothChange a booth draft from start_booth, using the draftId check_generation returned. what='welcome' redraws the welcome screen from an instruction ('warmer colours', 'bigger headline', 'less clutter') while keeping the design; add orientation 'phone' or 'laptop' to redraw only that screen (1 redraw) — without it both screens are redrawn (2). what='app-background' redraws the calmer backdrop behind the rest of the booth (1 redraw). what='everything' rebuilds the whole draft from a NEW full description (spends 1 of the draft's 3 full generations) — only when the operator wants a different booth, not a tweak. A draft has 5 redraws in total; check_generation reports what is left. Title, headline, link name and colours cannot be edited directly: they change only through a redraw instruction, or at create time (title, slug). Returns a job id; call check_generation. Call only when the operator asks for a change — never iterate on your own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what | Yes | Which part to change. 'everything' is a full rebuild from a new description. | |
| draftId | Yes | The draft to change, from check_generation's result for start_booth. | |
| instruction | Yes | For 'welcome' / 'app-background': what to change, in the operator's words, up to 300 characters — the current design is kept and only this is applied. For 'everything': the new full description of the booth, up to 1000 characters. | |
| orientation | No | Only with what='welcome': redraw just the phone (portrait) or laptop (landscape) screen. Omit to redraw both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| note | No | ||
| what | Yes | ||
| error | No | ||
| jobId | Yes | ||
| state | Yes | ||
| draftId | No |