Get CookiePilot install instructions
get_install_snippetStep-by-step install instructions for a platform — HTML code (Consent Mode stub + banner script), the WordPress/WooCommerce plugin, the PrestaShop module, Google Tag Manager or Shoper. With a ready setup_token the code contains the real key of the account's domain; without it, YOUR_API_KEY is a placeholder and a register link is included.
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": {
"platform": "<platform>"
},
"name": "get_install_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language of the user (two-letter code): sets the language of the confirmation e-mail, the confirmation page and the CookiePilot panel, and the currency of prices ("pl" = PLN, any other = EUR). One of: en, pl, de, fr, es, it, nl, pt, sv, cs, ro, el, hu, sk, bg, hr, sl, et, lv, lt; others fall back to "en". Defaults to "en". | |
| hostname | No | Website hostname, e.g. example.com; defaults to the website added last (or given to create_account) | |
| platform | Yes | Install method, usually recommendedInstallMethod from analyze_site | |
| setup_token | No | setup_token returned by create_account |