Theme DIYA
get_themeTurns a brand color (and, if wanted, glass, a font and corners) into the one DiyaProvider line to write. Shows the accent tokens DIYA derives with their contrast, and says when a color will look faint.
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": "get_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glass | No | ||
| theme | No | ||
| motion | No | "reduced" for fades only, "off" for none; "system" (the default) follows the device's Reduce Motion setting | |
| corners | No | Corner scale: 0 square, 1 default, 2 round | |
| brandColor | No | A hex color, such as "#1F4E7A", or { light, dark } | |
| fontFamily | No | A CSS font-family stack |