manage_colors
Manage and apply custom color schemes and palettes to diagrams, including setting, retrieving, applying, and resetting colors.
Instructions
管理图表的颜色方案和调色板
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": {
"diagram_id": "<diagram_id>",
"action": "<action>"
},
"name": "manage_colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 颜色管理操作 | |
| palette | No | 调色板定义 | |
| diagram_id | Yes | 图表ID | |
| color_mapping | No | 颜色映射规则 |