Create Site
create_siteSave the business profile researched and reviewed by the caller’s AI assistant and complete brand Site setup in one call. businessProfile is required. Provide exactly one of url (normal creation and URL-based recovery) or siteId (an existing saved setup identity); no separate research or confirmation tool is required. clientId is optional: name one of the Account’s Clients to place the Site under that Client, or omit it for a Site the Account owns directly. Optional strategicGoal saves an initial strategy note. Recovery preserves a saved note; an active siteId preserves both profile and note, so use update_site to edit the profile or replace/clear the note. Optional models patches account defaults for a newly created configuration; null clears selections. Existing saved models are preserved on recovery: use update_site to edit them. Creation starts with no prompts and no automatic schedule. A URL may reuse an unfinished setup and replace its saved profile; an already-active URL returns site_already_exists. An ID can complete profile_ready setup; a setup_failed ID must be retried through its original URL. An already-active siteId returns its saved profile without overwriting it: use update_site to edit. Creation is not generally idempotent and may finish in stages; after uncertainty inspect inventory/details before retrying. Account/Site allowances apply, but this call never launches a scan or spends scan allowance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| models | No | Model on/off edits. Unspecified models are preserved; null clears all selections. Creation patches account defaults only for a new configuration; retries preserve saved models. IDs are listed in this schema and get_scan_config. Plan access is checked per model when enabling. | |
| siteId | No | ||
| clientId | No | ||
| strategicGoal | No | Optional strategy note: only objective, trimmed 1–2000 Unicode characters. Omission preserves it; null clears on update. Creation initializes an absent note and preserves a saved note. | |
| businessProfile | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| models | Yes | ||
| summary | Yes | ||
| configId | Yes | ||
| nextStep | Yes | ||
| strategicGoal | Yes | ||
| businessProfile | Yes |