website.preflight
STEP 1 of website creation (REQUIRED before website.create). Call this whenever the user wants to build/create a website, portfolio, store, school, or restaurant site. Before calling, collect from the user: name, subDomain, phone, email, and their bio/description (location optional). If any of name/subDomain/phone/email is missing, ASK the user in ONE short message for all missing items — do not ask one at a time and do not invent values. This validates the subdomain, checks plan limits, and returns a template preview + businessDetails. Always show that preview to the user including the visual thumbnail '' and ask them to confirm. Creates nothing.
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": {
"name": "<name>",
"subDomain": "<subDomain>",
"templateId": "<templateId>"
},
"name": "website.preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Person or business name shown on the site (e.g. 'Renuka Tamang', 'Kathmandu Coffee'). Ask the user. | |
| No | Public contact email. Ask the user. | ||
| phone | No | Public contact phone / WhatsApp number. Ask the user. | |
| location | No | City / country / address (e.g. 'Tokyo, Japan', 'Kathmandu'). | |
| subDomain | Yes | Subdomain the USER chose (lowercase, letters/numbers/hyphens, e.g. 'renuka-tamang' -> renuka-tamang.hamrolink.com). NEVER invent this — ask the user. | |
| templateId | Yes | Template key from website.list_templates (e.g. 'portfolio-minimal') OR a category: 'portfolio', 'restaurant', 'consultancy', 'school', 'ecommerce', 'business', 'blog'. | |
| description | No | The user's bio, about text, or business description IN THEIR OWN WORDS. Pass the full text the user gave you — it is used to write all site content. | |
| specialties | No | Optional key skills, services, or products (3-6 items). |