ui_builder_export
Export a design. compose returns the Kotlin the generator writes, or — when the design holds something it cannot express — diagnostics naming each reason. This is the same gate the browser's code pane shows, so an agent and a designer get the same answer about the same design.
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. | |
| format | No | Defaults to compose. Available formats: compose, svg, png, bundle. Check the catalog exportCapabilities. | |
| designId | Yes | ||
| revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||