Generate Multi-Screen Flow
sp_flowGenerate multiple related UI screens (e.g., login, dashboard, settings) in a single call, ensuring consistent design across the flow.
Instructions
Generate multiple related screens (e.g., login → dashboard → settings) in one call with consistent design
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": {
"prompt": "<prompt>",
"projectId": "<projectId>",
"screens": "<screens>"
},
"name": "sp_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the multi-screen flow | |
| projectId | Yes | Stitch project ID | |
| screens | Yes | Names/descriptions of each screen in the flow | |
| deviceType | No | DESKTOP | |
| framework | No | html | |
| componentLibrary | No | none | |
| accessibility | No | ||
| responsive | No | ||
| designSystemId | No |