lookup_style_tokens
Resolve style preset token roles into hex colors for batch Excalidraw element creation, accepting JSON paths or shorthand like 'node:accent'.
Instructions
Resolve style preset token roles to hex colors for batch_create_elements. Accepts JSON paths (nodes.accent) or template shorthand (node:accent, surface:mid, arrow:muted). Defaults to activePreset from apply_style_preset, else clean-tech.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roles | Yes | Token roles, e.g. ["nodes.accent", "node:activation", "arrow:return", "surfaces.mid"] | |
| preset | No | Preset name (optional; default: activePreset or clean-tech) |