theme
List custom site designs, semantically search marketplace templates by natural language, and create new sites from selected templates via action-based operations.
Instructions
Site themes and templates. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).
list_themes: List all custom themes of the site.
semantic_search_themes: Semantic search across the theme marketplace using bge-m3 embeddings (cosine similarity).
list_template_themes: Search/list the public Webcake template marketplace (api.storecake.io).
create_site_from_template: Create a NEW site from a marketplace TEMPLATE (the dedicated "use this template" API).
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": {
"action": "<action>"
},
"name": "theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Keyword to search themes [list_template_themes] | |
| help | No | Return the action's full documentation and argument schema instead of running it | |
| lang | No | Language code (default 'vi') [list_template_themes] | |
| name | No | Name for the new site [create_site_from_template] | |
| page | No | Page number (default 1) [list_template_themes] | |
| slug | No | URL-safe slug for the new site (auto-generated if omitted) [create_site_from_template] | |
| limit | No | Number of matches to return (default 5, max 10) [semantic_search_themes, list_template_themes] | |
| query | No | Natural-language description of the desired website (industry + features) [semantic_search_themes] | |
| action | Yes | Which operation to run | |
| theme_id | No | Marketplace theme id (from semantic_search_themes / list_template_themes) [create_site_from_template] | |
| switch_to | No | Switch the session to the new site after creating it (saved for next session) [create_site_from_template] |