Get site status
get_siteGet the current status and details of a site. Use to poll for generation/refinement completion (every ~10s) and to get the preview/deployment URL. status is one of: generating (a round is running — this covers every phase, and is also what you get while the state is momentarily unknown, so keep polling) | ready | publishing | published | publish_held | error. "publish_held" means the last publish crashed or loaded blank in a browser check before going live, so it was NOT made live (any earlier version is still what visitors see) — tell the user publish_message, fix the page it names, then publish again. "error" after publish_site means that publish FAILED and was not made live (any deployment_url still serves the earlier version) — tell the user error_message, then publish again. Only "ready"/"published" mean the work is finished; generation_progress is informational and is NOT a completion signal on its own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site ID to check | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. |