extract_tokens
Pull colors, spacing, corner radius, and typography from reference design images to create reusable Design Tokens. Supports batch processing of multiple images.
Instructions
从参考设计图提取 Design Tokens(颜色、间距、圆角等)- 支持多图批量处理
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": {
"imagePaths": "<imagePaths>"
},
"name": "extract_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| imagePaths | Yes | 参考设计图的文件路径数组(支持多张) |