legal_put_theme
Configure a WordPress site's consent banner theme preset or override individual --cvrt-consent-* CSS variables to control banner styling.
Instructions
Set the banner theme preset and/or individual CSS custom properties. Only --cvrt-consent-* properties are accepted.
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": {
"site": "<site>"
},
"name": "legal_put_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| vars | No | --cvrt-consent-* overrides | |
| preset | No | default or dark |