analyze_layout_structure
Analyzes HTML structure to recommend Flexbox or Grid and returns the CSS needed to implement the layout.
Instructions
Accepts an HTML structure and returns the optimal CSS layout approach (Flexbox vs Grid) and the necessary 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": {
"htmlString": "<htmlString>"
},
"name": "analyze_layout_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| htmlString | Yes |