Sync Screen to HTML
stitch_sync_screenSynchronize a specific Google Stitch screen or all screens from a project into local HTML files, optionally choosing the output directory.
Instructions
Synchronize a screen from Google Stitch to local HTML files. If no screenId is provided, syncs all screens from the project.
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": "stitch_sync_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | Output directory | ./stitch-output |
| screenId | No | Specific screen ID (syncs all if not provided | |
| projectId | Yes | Stitch project ID |