cromanion_claim_domain
Claim another host for this site so its traffic counts, or give one up with remove: true. A DIFFERENT registrable domain must be proven on its own — publish this claim's challenge there too, then call again. Subdomains need no call at all: a claimed domain already covers them. Needs the site-config permission.
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": {
"domain": "<domain>"
},
"name": "cromanion_claim_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | A public hostname, e.g. shop.example.com. | |
| remove | No | Give the host up instead. Needs no proof — it only narrows what we listen to. | |
| siteId | No | Which site this call is about. Only needed when your credential covers more than one — cromanion_grants lists them and says whether it is required. Omitting it with several is refused rather than guessed at. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| note | No | Present when nothing changed, saying why — usually that a claimed domain already covers this subdomain, or that the host to give up was never claimed. | |
| added | No | False when the host was already covered — not a failure. | |
| changed | No | Present, and false, when a removal was asked for a host the site was not listening on. Nothing was removed and nothing was recorded. | |
| claimed | Yes | Every host this site now listens to, after the change. The answer, whichever branch ran. | |
| removed | No | Present on a removal: the host given up. Absent when the site was not listening on it. | |
| provedBy | No | Present when a fresh proof was read, which a different registrable domain requires. |