Refine UI design
stride.refine_ui_designRefine one option of an existing UI design with a natural-language instruction — appends a new version (the prior version is kept). Identify the design by UUID and the option by its key (A/B/C…). 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": {
"designId": "<designId>",
"optionKey": "<optionKey>",
"instruction": "<instruction>"
},
"name": "stride.refine_ui_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| designId | Yes | UUID of the UI design. | |
| optionKey | Yes | Option key to refine (e.g. "A"). | |
| instruction | Yes | What to change (e.g. "make the header sticky, warmer accent"). |