Add the user's site
add_siteAdd the user's own website to their Seonix account as a project and start its first Site Health scan (write scope — ask the user first; works on every plan, Free included). Use it when the account has no project for the site yet and the user wants the whole site looked at, not one page (check_page does one page without adding anything). Returns the project and the scan id: poll get_scan_status, then read get_site_health and get_fix_plan. Search Console and Google Analytics are connected by the user in the dashboard (the answer carries the link); after that the gsc_* and ga4_* tools have data. A site the account already has is returned as it is, nothing is created twice.
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 | The user's own website: a domain or a URL, e.g. shop.example or https://shop.example. The whole site is added, not one page. | |
| name | No | A name for the project in the dashboard (default: the domain). |