lanhu_get_dds_schema
Extracts the DDS semantic UI component tree from Lanhu design files, including layout and styles, for accurate design-to-code reproduction.
Instructions
获取蓝湖 DDS 语义化 UI 组件树。返回经过 AI 识别的 UI 组件结构(NavBar/Avatar/Input/ImageText 等),包含 row/col 布局和精确样式。用于 300% 精确还原设计稿。
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": {
"imageId": "<imageId>"
},
"name": "lanhu_get_dds_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageId | Yes | 设计稿 image_id | |
| versionId | No | 版本 ID(不传则自动获取最新版) |