render_responsive
Render a UI component across mobile, tablet, and desktop devices in a single call. Obtain three screenshots to verify responsive design without a dev server.
Instructions
Render a component at mobile, tablet, and desktop sizes in one call. Returns 3 screenshots for responsive verification.
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": {
"code": "<code>"
},
"name": "render_responsive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Component code to render | |
| framework | No | Framework: html, react, vue, or svelte | react |
| devices | No | Device sizes to render |