读取蓝湖元素标注样式
lanhu_inspect_elementInspect a specified layer ID or browser viewport point to read true annotations—position, size, typography, color, and text—and copy verified fields without inferring missing values.
Instructions
点击指定图层 ID 或浏览器视口坐标,切换 Web/px 并读取右侧真实标注:位置、尺寸、字体、字重、字号、行高、字距、颜色和原文。可逐字段点击复制并核对,缺失字段不推测。禁止截图识别替代。
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>"
},
"name": "lanhu_inspect_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | 蓝湖分享或页面 URL | |
| point | No | 浏览器视口 CSS 像素坐标,不是设计稿逻辑坐标 | |
| layerId | No | 当前设计版本的图层 ID;与 point 二选一 | |
| copyFields | No | 额外点击右侧字段并核对复制值;结束后恢复浏览器剪贴板 |