Read Coolours palette link
parse_palette_linkRead the colours and name back out of a Coolours link (coolours.perpetualsummer.ltd/create/...). Use this when the user pastes a Coolours URL, for example after editing a palette on the site, so you can apply their changes.
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": {
"url": "<url>"
},
"name": "parse_palette_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full Coolours URL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | Yes | CSS custom properties exactly as Coolours exports them. Use as given; variable names match the Coolours UI | |
| name | No | ||
| colours | Yes | Each colour with the name Coolours shows on its swatch | |
| ignored | Yes | URL segments that are not valid swatches; the site ignores these too | |
| contrast | Yes |