apply_design_context
Generate a new screen from a prompt while reusing a saved design context to keep the output visually consistent.
Instructions
Generates a new screen using a previously extracted design context for visual consistency.
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": {
"projectId": "<projectId>",
"designContext": "<designContext>",
"prompt": "<prompt>"
},
"name": "apply_design_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the new screen to generate. | |
| projectId | Yes | The project ID. | |
| deviceType | No | Target device type. | MOBILE |
| designContext | Yes | The design context from extract_design_context. |