ui_builder_move_design_home
Move a design's canonical home between this server and a repository checkout. This changes real authoritative state: quote the exact baseRevision and current sourceHome from ui_builder_get_design, provide a stable operationId, and name the new targetHome. The old server record remains as a retained copy pointing at the new home. The reply is an idempotent operation outcome with the new revision; a stale revision or changed source home is refused rather than overwriting a concurrent move. Unless the person already chose this move, call first with dryRun: true: it changes nothing and returns the choices to put to them — or, when your client supports form elicitation on this connection, asks them in a form and, if they choose to move, returns this move's outcome.
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. | |
| dryRun | No | Validate and return the person's choices without changing anything. | |
| designId | Yes | ||
| sourceHome | Yes | The exact current DesignHomeV1, or null when the design is unhomed. | |
| targetHome | Yes | ||
| operationId | Yes | Your stable id; makes a retry idempotent. | |
| baseRevision | Yes | The exact current revision read from the design. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||