edit_screen
Update an existing UI screen from a text prompt and receive the revised screen ID and HTML.
Instructions
Edit an existing screen using a text prompt. Returns updated screen ID and HTML.
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 | Edit instructions | |
| modelId | No | Model to use | |
| screenId | Yes | Screen ID to edit | |
| projectId | Yes | Project ID | |
| deviceType | No | Target device type |