edit_screen
Edit an existing screen using a natural language prompt. Describe UI changes such as background, sidebar, or layout to apply them directly.
Instructions
Edit an existing screen using a text prompt
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>",
"screenId": "<screenId>",
"prompt": "<prompt>"
},
"name": "edit_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text prompt describing the changes (e.g., 'Make the background dark and add a sidebar') | |
| modelId | No | Generative model to use | |
| screenId | Yes | The ID of the screen to edit | |
| projectId | Yes | The ID of the project containing the screen | |
| deviceType | No | Target device type |