Create a theme
create_themeOn one site of the account, named in site. A new theme under its own name, started from a bundled or installed one (list_themes): a copy of that theme as last edited — held changes included — with its own history, and not the site's theme until activate_theme makes it so. The answer names the tree it copied and lists every file the copy inherited, so you know what to keep, rewrite or delete_theme_file. Names are lowercase letters, digits and hyphens. A copy of a bundled theme, or of a copy of one, follows that theme's releases (follows): list_themes shows its update, and plan_theme_update and update_theme bring it in over the copy's own changes.
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": {
"site": "<site>",
"name": "<name>",
"from": "<from>"
},
"name": "create_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | The theme to start from, like ink | |
| name | Yes | The new theme's name, like dune | |
| site | Yes | The site to work on, as list_sites names it |