export_palette
Extracts a color palette from an image and saves it as .gpl or .hex files for import into Aseprite.
Instructions
단일 이미지에서 팔레트를 추출해 .gpl/.hex 로 저장(Aseprite 임포트용).
Args: src: 입력 이미지 경로. out: 팔레트 저장 경로(.gpl 또는 .hex). colors: 팔레트 색 수.
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": {
"src": "<src>",
"out": "<out>"
},
"name": "export_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | ||
| src | Yes | ||
| colors | No |