generate_ui_snippet
Generates static, illustrative Flutter or React Native screen starter snippets by pattern, state, theme, width, and locale for UI design without execution or real interactions.
Instructions
Generate a static illustrative Flutter or React Native screen starter. No execution, network, persistence or real interactions.
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": {
"pattern": "<pattern>",
"framework": "<framework>"
},
"name": "generate_ui_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Data state. State-only patterns use their own state. | default |
| theme | No | light | |
| width | No | Logical viewport width | |
| locale | No | English or Arabic sample copy | en |
| pattern | Yes | Screen pattern to design | |
| framework | Yes |