create_form
Build form layouts in Figma with labeled inputs, validation states, and submit button. Configure fields, input types, accent color, and submit text to generate complete forms.
Instructions
Create a form layout with labeled inputs, validation states, and submit button.
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": {
"fields": "<fields>"
},
"name": "create_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Fields: [{ label, type: "text|email|password|select|textarea", required }] | |
| parentId | No | Parent node | |
| brandColor | No | Accent color | |
| submitLabel | No | Submit button text (default: Submit) |