Create theme
create_themeCreates a theme — the look every course assigned to it inherits, live. tokens.concept picks the design (stage, editorial, console, bright, calm, workbench, conversation, deck), which carries the palette, the type pairing, the shapes and the chrome; every other token overrides part of it and anything omitted stays the concept's own. tokens.mode is light, dark or auto (follow the learner), with palette and darkPalette holding the overrides for each. Requires the Build plan or higher.
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": {
"name": "<name>"
},
"name": "create_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Theme name. | |
| tokens | No | The design. concept picks the base look, and every other token overrides part of it; anything omitted stays the concept's own. Omit tokens entirely for the default look. | |
| customFonts | No | Self-hosted fonts the theme can reference by name: each is { name, url }, where url points at the font file. Only needed for fonts that aren't on Google Fonts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| tokens | Yes | The theme's design tokens: concept, palette, colours, fonts, radii, spacing. | |
| createdAt | Yes | ||
| updatedAt | Yes | ||
| customFonts | Yes | ||
| workspaceId | Yes |