Website: Switch template
website_switch_templateSwitch an existing landing to another template (layout of blocks for a kind of business, e.g. it, service, beauty, expert, home_repair, device_repair), keeping the owner's content: blocks the new template adds arrive hidden, blocks it drops are hidden, a version is saved first. Premium on a free workspace → status 'blocked' with 'upsell'. Runs propose→confirm. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"template": "<template>"
},
"name": "website_switch_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| palette | No | ||
| website | No | Site id, name or subdomain. Optional when the workspace has one site. | |
| template | Yes | Template (archetype) slug; an unknown one returns the list. | |
| direction | No |