create_design_system_from_design_md
Turn your uploaded DESIGN.md file into a design system for your Stitch project, displaying it directly in the UI.
Instructions
Creates a design system for a project, with user uploaded DESIGN.md file, and displays the design system in the UI.
Instructions for Tool Call:
Should call
upload_design_mdtool first to upload DESIGN.md to a Stitch 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>",
"selectedScreenInstance": "<selectedScreenInstance>"
},
"name": "create_design_system_from_design_md"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Required. The project ID to update design system for, example: '4044680601076201931', without the `projects/` prefix. | |
| deviceType | No | Optional. The device type of the screen. | |
| selectedScreenInstance | Yes | Required. The screen instance to create the design system from, which is created by UploadDesignMd RPC. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | No | The asset id of the design system. Example: '15996705518239280238', without the `assets/` prefix. |