Preview a cosmetic (tier 1/2) banner change before committing it
account.previewDesignChangeShows the exact before/after for an appearance, wording or non-compliance UX change to one of your apps, and returns a short-lived preview token the commit tool requires. Refuses any compliance-determinative field — those go through account.previewComplianceChange. Refuses a design colour that is not a 6-digit hex (#RRGGBB) such as #fff or rgb(), because the banner ignores it and shows its default (bannerColor also accepts rgb()/rgba(), with a warning; btnTextColor also accepts 'auto' when the app uses the v2 banner, and the readability report shows the colour it resolves to). For a design change it also reports readability — body text and headings on the banner background, button labels on the button colour — as the banner would be after the change; a pair below the WCAG AA 4.5:1 minimum is a warning to pass on, never a refusal.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"AppID": "<AppID>"
},
"name": "account.previewDesignChange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Partial default-language text.* overrides (banner wording). | |
| AppID | Yes | The app to change. Must be covered by your API token's app scope. | |
| config | No | Partial config.* overrides — TIER 1/2 KEYS ONLY. A compliance-determinative key here is refused, not applied. | |
| design | No | Partial design.* overrides (appearance only). Colours must be 6-digit hex (#RRGGBB); bannerColor also takes rgb()/rgba(), with a warning that the v2 banner ignores it; btnTextColor also takes "auto" (readable text picked from the site colours) on an app using the v2 banner only. |