Wait for an edit request from the preview UI
await_edit_requestLong-poll for the next user edit from the preview UI chat box, enabling live conversational editing of SVG animations. Returns an edit to apply or 'idle' to continue polling.
Instructions
Long-poll for the next change the user typed into the preview UI's chat box. This is how live edits work: call it, and it blocks until a request arrives (or ~25s passes). When it returns an edit, apply the change FAST: for small tweaks (color, size, position, timing, text, easing) call apply_patch with minimal find/replace edits — do NOT regenerate the whole SVG. Use apply_edit (full SVG) only for structural changes. Then call await_edit_request again to keep watching. When it returns 'idle', simply call it again. Keep this loop running while the user iterates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||