export_all_screens
Export all screens from a Stitch project, fetching each screen's HTML and screenshot. Returns complete structured data for backup or migration.
Instructions
Exports all screens from a Stitch project. Fetches each screen's HTML code and screenshot, returning a complete project export as structured data. Useful for backing up or migrating designs.
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": "export_all_screens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The project ID. | |
| maxScreens | No | Maximum number of screens to export (0 = all). | |
| includeHtml | No | Include HTML code for each screen. | |
| includeScreenshots | No | Include base64 screenshots for each screen. |