Add a website
add_websiteRegister a website with the organization without running an audit (run_audit registers automatically, so this is only needed to set a site up ahead of time). Returns the website_id. Calling it again for the same domain returns the existing website, and a kind or scope passed again replaces the stored one. Pass kind to classify it as owned or prospect up front. On a plan with scheduled audits, a NEW site's recurring audits switch on by themselves after its first successful audit, and each of those runs costs credits: tell the user before calling this; update_website_settings with schedule "off" turns them off. The result's scheduled_audits field reports what was set.
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": {
"url": "<url>"
},
"name": "add_website"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Website URL to register, e.g. https://example.com (scheme optional). | |
| kind | No | Classify the site: 'owned' for something the user runs and monitors, 'prospect' for a lead or competitor. Filterable in list_websites. Unclassified sites read as 'owned', so only an explicit 'prospect' makes a site show up in a prospect cleanup. Re-calling with a different value reclassifies it. | |
| scope | No | The website's stored crawl scope, used by every later audit of it. 'discover' follows links; 'sitemap' audits only the URLs the sitemap publishes. Omit to leave an existing site's setting unchanged (a new site starts on 'discover'). Re-calling with a different value updates it. Owners and admins only: for any other role the site is still added, on its current or default scope, and scope_note says the scope was not applied. | |
| start_url | No | The URL you were originally given, when `url` is where it redirected to (a short link or an old domain). The website is kept under `url`'s domain and this host is remembered as an alias, so a later call with the old URL finds the same website instead of making a second. http(s) only; ignored when it names the same site. | |
| follow_redirect | No | Consent to follow a redirect to ANOTHER site. The server follows the URL's redirects (up to 5, never to a private address) when you gave no start_url: within one site (http to https, apex to www) it just registers the final URL; to a different registrable domain it answers status "redirected" with the destination and creates nothing until you call again with follow_redirect: true. The original host is kept as an alias. A loop, a refused hop or a timeout registers the URL as sent and says why in redirect. |