Show the customer's real banner, as a publish would take it live
account.previewBannerReturns a short-lived link (30 minutes) to a page showing this app's real cookie banner drawn from its saved draft — what a publish would take live — optionally with a design, config or text change drawn on top (same keys and refusals as the preview tools). Give the link to the site owner to look at before approving a change. Nothing is published, recorded or sent. The result notes which unpublished draft edits the picture includes. Never copy the page onto a site: install with install.getSnippet, publish with the preview + update tools.
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.previewBanner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Optional partial default-language text.* change to draw on top of the draft. | |
| AppID | Yes | The app to preview. Get it from account.listApps rather than asking the customer. | |
| config | No | Optional partial config.* change to draw on top of the draft. Any tier: a preview changes nothing. | |
| design | No | Optional partial design.* change to draw on top of the draft — same keys and rules as account.previewDesignChange. |