edit_screens
Modify selected UI screens in a project using a text prompt to specify the edits you want.
Instructions
Edits existing screens within a project using a text prompt.
Instructions for Tool Call:
This action can take a few minutes to complete. Please be patient. DO NOT RETRY.
If the tool call fails due to connection error, the process may still succeed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Required. The input text to generate the screen from. | |
| modelId | No | Optional. The model to use for generation. | |
| projectId | Yes | Required. The project ID of screens to edit, example: '4044680601076201931', without the `projects/` prefix. | |
| deviceType | No | Optional. The type of device that captured the screenshot, e.g., mobile or desktop. | |
| selectedScreenIds | Yes | Required. The screen IDs of screens to edit, example: ['98b50e2ddc9943efb387052637738f61', '98b50e2ddc9943efb387052637738f62'], without the `screens/` prefix. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | The project ID of the generated screen. This is the same as the input project ID. | |
| sessionId | No | The session ID of the generated screen. | |
| outputComponents | No | The generated output components. |