lanhu_ui_region
Fetches detailed UI element specs including coordinates, styles, and grid/flow layout guidance from a Lanhu design URL.
Instructions
Return exact elements plus flow/flex/grid-first implementation guidance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Lanhu detail URL containing pid and image_id/docId. | |
| clip | No | Optional {x,y,width,height} layer clip rectangle. | |
| limit | No | Layers written to this result file, 1-100. | |
| query | No | Optional layer name/text search. | |
| cursor | No | Cursor returned by the previous page. | |
| fields | No | Optional comma-separated output fields. | |
| profile | No | compact, implementation, or raw. | implementation |
| region_id | No | Optional top-level region id/index; omit to inspect the full canvas. | |
| crop_image | No | Create a correctly scaled local image crop. | |
| layer_types | No | Optional exact layer type filter. | |
| visible_only | No | Exclude hidden layers. | |
| force_refresh | No | Refresh the design snapshot. | |
| collapse_slices | No | Treat cuts as atomic elements and omit their descendant layers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||