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.
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": {
"roles": "<roles>"
},
"name": "lookup_style_tokens"
}
}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) |