ui_builder_share_design
Share a design with somebody else, or take that sharing back. actorId is the other party's actor id as this server spells it — github:<login> for a signed-in person, operator for the token holder, agent:<fingerprint> for another agent's grant; ui_builder_design_access lists the ones a design already carries. A viewer may read and export, an editor may also change the design, and neither may share it on. Only the design's owner may share it, and an agent acting under an approved grant shares as the person who approved that grant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | editor or viewer. Defaults to viewer. | |
| 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. | |
| revoke | No | Take this actor's access away instead. | |
| actorId | Yes | Who to share with, e.g. github:octocat. | |
| designId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||