get_token_map
Map a Figma, DTCG, or Tokens Studio token name to the corresponding CSS custom property. Check how a token path resolves before building a theme.
Instructions
The design-token → cia-token mapping that theme_from_tokens applies, as data. Without path: { generatorVersion, contractVersion, explicit: { "": "--token" }, aliases: [{ pattern, replaceWith }], genericRule, targets: { required, optional } }. With path (e.g. "color.text.primary"): how that one path resolves — { token, mapped, via, status, required, feature, category }. Use it to map a Figma / DTCG / Tokens Studio token name to the cia custom property the same way the converter does, or to check a name before building a theme. Needs css-is-awesome >= 1.19.0 installed.
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_token_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | One token path to resolve (dot-separated, e.g. spacing.4). Omit for the whole map. |