Get website status
get_website_statusCheck a website started with create_website or a logo started with regenerate_website_logo. Each call waits up to about 10 seconds, so it is safe to call back-to-back. Keep calling while stop_polling is false.
stage is one of: 'building', 'connecting' (published, domain and SSL being set up), 'live' (give the user live_url), 'private_preview' (ready; only the owner can open preview_url), 'needs_attention' (show message: the owner finishes in the editor), 'failed' (show message; create_website can be retried unless declined is set), or 'not_found'. sections lists what the site contains, so you can tell the user what was left out and that edit_url is where to add it.
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": {
"domain": "<domain>"
},
"name": "get_website_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain passed to create_website. | |
| wait_seconds | No | How long the server may wait while building. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| stage | Yes | ||
| domain | Yes | ||
| message | No | ||
| success | Yes | ||
| declined | No | ||
| edit_url | No | ||
| live_url | No | ||
| logo_url | No | ||
| sections | No | ||
| published | No | ||
| logo_state | No | updating, done or failed, after regenerate_website_logo. | |
| preview_url | No | ||
| stop_polling | Yes |