Create a preview link
r3_preview_createCreate a shareable preview link for a saved R3 project, so a person can open it in a browser and see it running. The link is valid for 7 days and does NOT make the project public; making a new one is free. It is how the user sees what you built. Takes the projectId returned by r3_project_create. Where the client shows MCP Apps (Claude on the web, desktop and mobile), the preview also shows as a playable card right in the chat, under this answer: use it when the user asks to see or play the project here or in the chat. When an R3 tab has the project open, the project's picture (its card and the link's image) is refreshed from that tab; when none has, the picture refreshes the next time the project is opened in R3.
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>"
},
"name": "r3_preview_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The project id, as returned by r3_project_create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | No | ||
| slug | Yes | ||
| answer | Yes | This answer in words: what was done, what R3 measured, decided or refused, and what to do next. The same text as the result's text block. Read it: the fields beside it are the data, this is the guidance. | |
| projectId | Yes | ||
| previewUrl | Yes | ||
| environment | Yes | ||
| cameraControls | Yes | ||
| expiresInHours | Yes | ||
| pictureOutdated | Yes | ||
| pictureRefreshed | Yes |