Get a picture of a project
get_project_previewUse when the user wants to see a saved project, or you need to describe it: returns a signed URL of the studio's last saved render, valid for an hour, and the PNG inline when include_image_data is true (only on hosts that display image content; elsewhere it costs many tokens for nothing). Nothing to show until the project has been opened and saved once. Do not use for Generate runs; get_generation_preview covers those.
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": {
"id": "<id>"
},
"name": "get_project_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| include_image_data | No | Also return the image inline as image content |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| openUrl | Yes | The studio page for it | |
| imageUrl | Yes | Signed image URL, valid about an hour; fetch or show it before then | |
| expiresAt | Yes | ISO 8601, when imageUrl stops working | |
| projectId | Yes | ||
| contentType | Yes |