Set screen image
set_screenshotReplace the device screen in a mockup by uploading a local image. Accepts PNG, JPG, or WebP.
Instructions
Upload a local image file to use as the screen content shown on the device in the mockup. Accepts PNG, JPG or WebP.
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>",
"imagePath": "<imagePath>"
},
"name": "set_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imagePath | Yes | Absolute path to a local image file (png/jpg/webp). | |
| projectId | Yes |