configure_cookie_banner
Configures and personalizes the cookie consent banner for a site. Controls layout, theme colors, Google Consent Mode v2 integration, and tracker auto-blocking rules.
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": {
"siteId": "<siteId>"
},
"name": "configure_cookie_banner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | dark | |
| siteId | Yes | Site UUID | |
| position | No | bottom | |
| accent_color | No | Hex accent color for accept buttons (e.g. '#c8f135') | #c8f135 |
| banner_title | No | Primary banner headline | Privacy & Cookie Preferences |
| enable_gcm_v2 | No | Synchronize user choices directly with Google Consent Mode v2 | |
| banner_message | No | Consent notification message | |
| auto_block_trackers | No | Automatically withhold analytics and advertising scripts until consent is granted |