ui_builder_await_design
Wait for somebody else to change a design and return what they changed, rather than asking again whether they have. Returns the moment a designer in the browser or another agent commits an edit, as the same update frame the browser's own live socket receives; returns a timedOut reply if nothing happens within waitSeconds, which you answer by calling again with the same cursor. Quote as afterSequence the throughSequence of the delta you last received, or the lastSequence of the last snapshot; a cursor the server no longer retains is answered with a whole snapshot instead of the operations you missed. waitSeconds: 0 checks without blocking. Nothing is lost between calls — the cursor is replayed when you call again — so somebody merely looking at the design does not wake you, and only a committed change does.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session is used in it. Prefer the header where you control it. | |
| designId | Yes | ||
| waitSeconds | No | Up to 120. Defaults to 25. | |
| afterSequence | Yes | The `lastSequence` you last saw, from ui_builder_get_design or a previous wait. | |
| includeCatalog | No | When the reply is a whole snapshot, embed the pinned catalog in it. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||