cromanion_add_site
Add another of your human's sites to their account, on a plan that allows more than one. Reaching a site they already own needs no proof — they added it. CREATING one does: nothing about holding a credential for one domain says anything about another, so publish this claim's challenge on the new domain first, the same three ways that proved the first. Refused while this credential is limited to specific sites, which is how one you provisioned yourself starts (the site it proved): your human widens it in the console — use cromanion_ask_human. 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": {
"siteUrl": "<siteUrl>"
},
"name": "cromanion_add_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| siteUrl | Yes | The public https URL of the site to add, e.g. https://second-shop.com. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| note | No | ||
| site | Yes | The new site: its id, domain and mode. Always `learn` to begin with. | |
| install | Yes | The snippet for THIS site — a different key from the first one. | |
| provedBy | No |