Match a reference swatch
bpj_palette_nearest_swatchRank a supplied palette by D65 CIE76 difference and report the closest swatch.
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": {
"color": "<color>",
"palette": "<palette>"
},
"name": "bpj_palette_nearest_swatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | ||
| palette | Yes |