ui_builder_fork_design
Make a new design from one revision of another — yours to edit, owned by you, with its parent recorded: the fork's forkedFrom (design, revision, document digest) and the parent's forks both show in ui_builder_get_links. A fork is not a branch: it never inherits the parent's canonical home and nothing flows back on its own, so tell the person it exists and bring a chosen change back with ui_builder_apply on the parent. Needs write access on this server and read access to the parent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | The fork's title. Defaults to the parent's, marked with the revision. | |
| 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 | The design to fork. | |
| revision | No | A retained revision. Omit for the current one. | |
| agentName | No | Optional agent/client name shown to design viewers; self-reported. | |
| agentModel | No | Optional current model name shown to design viewers; self-reported. Omit when unknown. | |
| newDesignId | No | The fork's id. Defaults to one derived from the parent; an id already taken is refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| home | No | ||
| title | Yes | ||
| schema | Yes | ||
| summary | Yes | ||
| designId | Yes | ||
| revision | Yes | ||
| forkedFrom | Yes | ||
| ancestryRecorded | Yes |