Configure the cookie banner
configure_bannerSaves and publishes the banner for a website on the confirmed account: colours (for example the suggested banner colours from a site analysis), position, layout, font, privacy policy URL and, per language, the banner texts. The banner shows the language of the website's ; every supported language has built-in texts, so texts are only needed for the user's own wording. Returns a preview link to the CookiePilot panel.
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": {
"setup_token": "<setup_token>"
},
"name": "configure_banner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | No | Banner texts by language code, e.g. {"pl": {"bannerTitle": "…"}}. Plain text only; missing keys keep their current (or built-in) wording; other languages are not changed. | |
| colors | No | CSS colours (hex or rgb/rgba); missing keys keep their current value | |
| layout | No | ||
| hostname | No | Website hostname, e.g. example.com; defaults to the website added last (or given to create_account) | |
| position | No | ||
| font_family | No | e.g. "Inter, sans-serif" | |
| setup_token | Yes | setup_token returned by create_account | |
| privacy_policy_url | No | Link to the site's privacy policy |