Generate a design-token set (palette / motion / layout)
riv_design_tokensGenerate OKLCH-harmonized design tokens—palette with WCAG contrast, gradients, motion durations, spacing and type scales—before calling riv_create, so scene specs use consistent values instead of raw hex colors.
Instructions
Deterministically generate professional design tokens for a scene BEFORE calling riv_create: an OKLCH-harmonized palette (with WCAG contrast ratios), gradient pairs, Material-Motion-derived durations & easing roles, spacing/radius/stroke scales and a type scale. Call this first, then use ONLY the returned values in the scene spec — never invent raw hex colors or ad-hoc durations. Inputs: optional seed color, mood (calm|playful|elegant|tech|warm|natural), scheme (dark|light).
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": "riv_design_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mood | No | Sets the default hue when seed is absent (default calm) | |
| seed | No | Brand/seed color #RRGGBB (optional; mood default hue otherwise) | |
| scheme | No | Default dark |