Add the website to the user's CookiePilot account
add_domainAdds a website to the confirmed account (setup_token must be ready) and makes it the default for the other tools. Defaults to the website given to create_account. An already added website (also as www. or without it) is returned as is. Fails with an explanation when the plan's website limit is used up.
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": "add_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | No | Website hostname, e.g. example.com; defaults to the website added last (or given to create_account) | |
| setup_token | Yes | setup_token returned by create_account |