get_design_context
Analyze a Lanhu design URL to extract HTML/CSS specs, image download mappings, design tokens, and a preview screenshot for implementation context.
Instructions
Analyze a Lanhu design and return HTML+CSS design spec, image download mappings, design tokens, and a preview screenshot.
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": "get_design_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Lanhu design detail URL containing tid, pid (project_id), and image_id parameters. |