create_website
Create a complete one-page website for a small business from a short brief. Returns a job id. Payment uses one of this API key's credits when available; with no credits it returns payment_required (call buy_credits to top up) or, with payment_method 'stripe', a checkout URL for a person to pay for this one website. Generation runs in the background: poll get_website_status until status is 'ready', then call get_download_link. Each website includes one free redo through revise_website.
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": {
"businessName": "<businessName>",
"businessType": "<businessType>",
"services": "<services>",
"location": "<location>"
},
"name": "create_website"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language for messages about this website: en (default) or fr. | |
| tone | No | Tone of voice for the copy. Default friendly. | |
| about | No | Optional: history, specialties, hours or anything else worth knowing. | |
| palette | No | Colour palette. Default harbour. | |
| location | Yes | Suburb, town or region the business serves. | |
| services | Yes | What the business offers: a sentence or a comma-separated list. | |
| siteLang | No | Language the website is written in: en (English, default) or fr (French). | |
| businessName | Yes | The business name, as it should appear on the site. | |
| businessType | Yes | The closest kind of business. | |
| contactEmail | No | Optional public email shown on the site. | |
| contactPhone | No | Optional public phone number shown on the site. | |
| payment_method | No | Defaults to credits when enabled, otherwise stripe. |