lanhu_get_design_slices
Retrieve design slice details including PNG/SVG download URLs, logical size, canvas position, and stored size. Off-canvas slices are flagged for resource handling decisions.
Instructions
获取单张设计图的切图清单:PNG/SVG 下载地址、logical_size(1x 逻辑尺寸)、position(画布坐标,量间距用)、stored_size(实际存储倍率尺寸)。off_canvas=true 仅表示切图与目标画布不相交;是否使用以及资源如何落地由目标端决定。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | 蓝湖 URL,pid 必需。支持 detailDetach(含 image_id)、stage/product 等格式,例:https://lanhuapp.com/web/#/item/project/detailDetach?tid=xxx&pid=xxx&image_id=xxx | |
| design | No | 目标设计图:index 数字(lanhu_get_designs 返回的 index 字段)、设计图 id(uuid)或完整名称。URL 里已带 image_id 时可省略。 |