trmnl_create_user_theme
Creates a custom TRMNL user theme with validated settings for colors, layout, typography, and spacing. Requires the theme builder enabled; invalid tokens return 422.
Instructions
Create a theme Requires the theme builder to be enabled for the account. settings is validated the same way the theme builder validates it: a value outside the vocabulary (an unrecognized token, surface, hue, or advanced channel) answers 422; a key the recipe does not read is ignored. advanced is either a mapping (channels/slots restated on one token) or the same mapping as YAML text. TRMNL POST /api/user_themes. Changes remote state or starts work. Run only within the user-authorized scope.
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": {
"body": "<body>"
},
"name": "trmnl_create_user_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| profile | No | Configured profile name; defaults to default. |