Add site
add_siteAdd a site to the account or reuse the existing domain. Up to 1,000 sites per account. This creates no subscription or payment. An account holds up to 1,000 sites (409 site_limit). Adding a site creates no subscription or payment. The existing guest audit workspace stays separate. Returns: { site{id,host,url,created_at,_links} } Example: await fetch("$ORIGIN/api/sites", {method:"POST", headers:{"Content-Type":"application/json", "X-CSRF-Token":csrf}, body:JSON.stringify({url:"https://example.com/"})}); Errors: 400: invalid_site_url or invalid_body; 401: account_required or session_ended; 403: account_required or invalid_csrf; 404: site_not_found; 409: site_limit; 503: sites_unavailable
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_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public HTTP(S) URL, without credentials. |