add_website
Creates a new website on the account and returns only its websiteId.
Add website · Changes data
Creates a new website on the account and returns only its websiteId. It uses one of the plan's website slots; when none are left the call fails with 401 'You cannot add more websites, please upgrade'. Next steps: set its address with update_website (url), get the install snippet with get_tracking_pixel, then check installation with verify_website. Confirm with the user before calling. Needs an account-level key.
| Connection | Account-owner URL or OAuth (not a team member URL) |
|---|
Parameters
| Parameter | Type | Required | Accepts | Description |
|---|---|---|---|---|
name | string | No | any | Display name for the website, e.g. "Acme marketing site". Defaults to "New Website". |
Tool definition
What your assistant receives from tools/list:
{
"name": "add_website",
"title": "Add website",
"annotations": {
"title": "Add website",
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": false
},
"inputSchema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Display name for the website, e.g. \"Acme marketing site\". Defaults to \"New Website\"."
}
}
}
}list_websites
Lists the account's tracked websites, newest first, with _id (the websiteId other tools need), name, url, domain, clientId, status (unverified, verified, removed or failed), trial and credit fields, tags and tracking settings.
get_website
Returns one website's details: name, url, domain, clientId, trackingScript (the install snippet), status (unverified, verified, removed or failed), lastVerifiedAt, tracking settings (identifySettings, trackExactVisitors, trackCompanyWithSuggestedContacts, trackPersonalEmails, session recording, email digest), credit limits and remaining, trial dates, tags, intent-topic state, integrations and members.