set_site
Create or update the project's hosted frontend site, served at https://{name}.{SITES_DOMAIN}; the URL set_site returns is the real one. One site per project. Creating it only reserves the name and is instant; nothing is served until deploy_frontend + finalize_frontend_deployment publish a build.
name is the hostname label, unique across ALL Aaly customers and immutable: lowercase letters, digits and single hyphens, 1-63 characters. Reserved names (api, www, login, status...) and names imitating a brand are refused; pick something specific to the app.
mode: 'spa' (default) serves /index.html for any path without a file extension, for client-side routers (Vite + React/Vue/Svelte). 'static' serves /about/index.html for /about, for pre-rendered sites (Next.js output: 'export', Astro, SvelteKit adapter-static).
app_url is only for an app hosted elsewhere: password-reset and email-verification emails link to it instead of the site URL.
status: 'suspended' takes the site offline (visitors get a 451 page); 'active' restores it.
Each account can create 25 new sites in any 24 hours; a refusal says how many have been created and when the next can be. Publishing to an existing site is not counted. Read aaly://platform/hosting before building a frontend.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| name | No | Hostname label. Required when the project has no site yet. | |
| status | No | ||
| app_url | No | https:// URL of the app when it is not served from the site itself. | |
| project_id | No | Get it from whoami or list_projects. |