ui_builder_set_links
Say what a design is for. Replaces the whole record: send every link you want kept, and omit one to clear it — so read ui_builder_get_links first if you are adding to what is already there. issue, reference, pr and thread are absolute http or https URLs, at most 2 KB each; previous is a design id on this host, not a URL. Anything else is refused with the reason. Sending an empty record clears it. Record the pr when you open one for a design you built here: it is what lets the next session, and the person who filed the issue, find one from the other.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr | No | The pull request that implemented it. | |
| issue | No | The tracker issue this design is for. | |
| 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. | |
| thread | No | A permalink to a discussion held elsewhere, such as a chat thread. It does not replace this server's comments for a server-homed design: keep that discussion on the design. | |
| designId | Yes | ||
| previous | No | The design id on this host that this one continues. | |
| reference | No | The frame in the design tool it reproduces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||