find_token_by_color
Find design tokens that match an exact hex color, enabling reverse lookup from a color value to its corresponding Compose token.
Instructions
Reverse lookup: Find token(s) matching an exact hex color.
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": {
"hex_color": "<hex_color>"
},
"name": "find_token_by_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex_color | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |