extract_palette
Extract the dominant color palette (hex codes) from a PNG image URL. For JPEG/other formats use the web tool at https://www.epicpxls.com/tools/color-palette-extractor
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": {
"image_url": "<image_url>"
},
"name": "extract_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of colors to return (default 6, min 2, max 12) | |
| image_url | Yes | HTTPS URL of a PNG image (max 5 MB) |