get_screen_image
Retrieve a screen's preview image as a base64-encoded PNG by providing its projectId and screenId. Get actual visual screenshots for design-to-code workflows.
Instructions
Retrieves the screenshot/preview image of a screen as base64-encoded PNG.
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>"
},
"name": "get_screen_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| screenId | Yes | The screen ID. | |
| projectId | Yes | The Stitch project ID. |