Analyze Figma layout
analyze_figma_layoutAnalyze a Figma layout snapshot to verify adaptive row/column geometry against expected columns or items per row, returning heuristic evidence, confidence scores, anomalies, and samples.
Instructions
Detects adaptive row/column geometry and reports heuristic evidence, confidence, anomalies and samples.
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": {
"snapshot_id": "<snapshot_id>"
},
"name": "analyze_figma_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| global | No | ||
| selector | No | ||
| tolerance | No | ||
| snapshot_id | Yes | ||
| expected_columns | No | ||
| expected_items_per_row | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| schema_version | Yes |