scaffold_project_files
Save UI designs from Stitch directly into your workspace by mapping project screens to local file paths.
Instructions
Maps a specific screen from a project to a local file path. Use this to save UI designs directly into the user's workspace.
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>",
"screenId": "<screenId>",
"filePath": "<filePath>"
},
"name": "scaffold_project_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute or relative file path to save the HTML (e.g., 'src/components/MyComponent.html') | |
| screenId | Yes | The ID of the screen | |
| projectId | Yes | The ID of the project |