lanhu_get_annotations
Fetch complete annotation data for a single design image, including layer structure, text styles, and downloadable assets. Use these specs to implement designs accurately.
Instructions
获取单张设计图的完整标注数据(最核心的工具)。
返回内容包含:
所有图层的树形结构(位置、尺寸、颜色、字体、行高、圆角、阴影、边框等)
文本图层的文字内容与字体样式
可下载的切图/图标列表(含 download_url)
画板尺寸与缩略图
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": {
"project_id": "<project_id>",
"image_id": "<image_id>",
"team_id": "<team_id>"
},
"name": "lanhu_get_annotations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | Yes | 团队 ID | |
| image_id | Yes | 设计图 ID(从 lanhu_get_screens 获取) | |
| project_id | Yes | 项目 ID |