get_preview_guidance
Get naming conventions and a copy-ready preview code template for a component to create consistent previews.
Instructions
Return the preview naming convention plus a ready-to-paste preview code template for a component, so any agent writes consistent previews.
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": {
"platform": "<platform>"
},
"name": "get_preview_guidance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| states | No | State names, e.g. ["Enabled", "Disabled"] | |
| platform | Yes | Target platform | |
| component | No | Component name, e.g. "Button" |