Save Site
save_siteIdempotent
Adds 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.
Input Schema
TableJSON 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. | |
| primary | No | true makes this the primary website. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appUrl | Yes | ||
| siteId | Yes |