Create a draft site
create_siteCreates a draft website from the business details, a starter layout and, for the best result, the pages and section text you have written for this business. Without pages, the layout's plain default wording is used. Nothing is public until publish_site. The free web address is .mywebdesk.app.
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": {
"brief": "<brief>",
"layout": "<layout>"
},
"name": "create_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the site: en (default) or fr. | |
| slug | No | Wanted web address before .mywebdesk.app. Suggested from the business name when left out. | |
| brief | Yes | ||
| pages | No | Your first draft of the pages. When left out, the layout's default pages and text are used. | |
| theme | No | ||
| layout | Yes | Starter layout. See list_templates. |