Save Site
save_siteAdds or edits a website: hostname, name, whether it is primary, and lead-capture settings for the site tag. Pass siteId to edit. Changing a site's hostname clears its AI readiness score and site audits. Related: list_sites, delete_site.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name for the site. | |
| domain | No | Bare hostname, e.g. example.com. Required when adding. | |
| siteId | No | Existing site id. Omit to add. | |
| capture | No | Lead-capture config: capture.kind selector|hubspot, honeypotField, gtmContainerId, cookiebotId, consentMode, consentRegions (ISO 3166-2 codes where a wait site holds Google's tags back; unset means everywhere). Replaces the whole stored config: start from the site's capture in list_sites and change only what you mean to. Changing consent settings means the operator must re-paste the site's snippet. | |
| primary | No | true makes this the primary website. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appUrl | Yes | ||
| siteId | Yes |