Generate UI design
stride.generate_ui_designGenerate AI UI-mockup options (HTML/CSS) for a story, from its title + description. Persists them as a design the team can preview/refine/attach in the studio. Identify the story by ticket key (e.g. "ORB-526") or UUID. Optionally pass count (1-5) and free-text instructions. Can take up to ~4 minutes, longer than many MCP clients wait. If it is still running after about 52 seconds this tool answers "still running" with a toolCallId and finishes in the background, saving the result when done. Meanwhile a repeat call for the same story (for a refine, the same option) starts nothing and answers "still running" again; stride.get_tool_call_status follows the run: given that toolCallId and waitSeconds 40 it waits for the run (a 3-minute run takes about 5 calls) and returns the result once it is saved, or says it failed. Cancelling the call before it answers stops the run and saves nothing.
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": {
"storyId": "<storyId>"
},
"name": "stride.generate_ui_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many distinct options to generate (1-5, default 3). | |
| storyId | Yes | Story ticket key like "ORB-526" (preferred) or a Stride UUID. | |
| instructions | No | Optional extra guidance (e.g. "dark mode, sidebar layout"). |