render_grid
Render multiple component code snippets in a grid layout to produce a single image for visual comparison of variants or themes.
Instructions
Render multiple code snippets in a grid layout and return a single combined image. Use this to compare components side-by-side (e.g. design system overview, theme comparison).
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": {
"cells": "<cells>"
},
"name": "render_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cells | Yes | Array of cells to render in the grid | |
| framework | No | Framework | react |
| columns | No | Number of columns in the grid | |
| cellWidth | No | Width of each cell (px) | |
| cellHeight | No | Height of each cell (px) |