create_design_pr
Converts Figma designs to TypeScript React components and creates a GitHub pull request with the generated code, test results, and visual regression checks.
Instructions
Create GitHub PR with generated component and test results.
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": {
"figmaInput": "<figmaInput>",
"componentName": "<componentName>",
"githubBranch": "<githubBranch>"
},
"name": "create_design_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| figmaInput | Yes | Figma URL or file ID | |
| componentName | Yes | Component name | |
| githubBranch | Yes | GitHub branch name | |
| testResults | No | Test results to include (optional) |