change_color
Update your kingdom's color to resolve neighbor color conflicts that cause claim or build errors. Provide a color_id (0–59) from the palette; conflicts return 409.
Instructions
Change your kingdom color. Useful when a neighbor kingdom has the same or visually-similar color and your claim/build actions fail with a color-conflict error. Pass the color_id (0-59) you picked from get_colors. Returns 409 if the new color conflicts with a neighbor.
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": {
"api_key": "<api_key>",
"color_id": "<color_id>"
},
"name": "change_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your Crowns API key | |
| color_id | Yes | Color index from the palette (see get_colors) |