List site templates
list_templatesReturns the site templates that create_site can build from. Each one has a templateId, a name, a description, a picture, and a preview address that is null while the preview site is not live. Call it once before create_site to choose a design and to get the templateId, and show your user the names and pictures if they have not chosen. Do not call it to look at a site that exists; use list_sites for that. The list is the same for every workspace and is kept for 5 minutes. It changes nothing and costs no credits.
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": "list_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| templates | Yes | The templates in display order. Send a template's templateId to create_site. |