批量读取蓝湖元素标注样式
lanhu_inspect_elementsRead annotation panels for multiple layers in one Lanhu canvas session, returning font CSS, sizes, text, slices, and stacking; fails the whole batch if any layer is missing.
Instructions
在同一个稳定蓝湖画布会话中按传入顺序读取多个图层的真实标注面板,返回字体 CSS、尺寸、原文、切片信息和相交图层堆叠关系;缺少任一图层时整批报错,不返回部分结果。
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": {
"url": "<url>",
"layerIds": "<layerIds>"
},
"name": "lanhu_inspect_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | 蓝湖分享或页面 URL | |
| layerIds | Yes | 当前设计版本的图层 ID,顺序会保留 | |
| copyFields | No | 对每个元素额外点击并核对相同字段;结束后恢复浏览器剪贴板 |