generate_form_validation
Generate form validation schema (zod/yup/valibot) with field-name heuristics
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": {
"formName": "<formName>",
"fields": "<fields>"
},
"name": "generate_form_validation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Comma-separated field names | |
| library | No | Validation library | |
| formName | Yes | Form name (PascalCase) | |
| withServerValidation | No | Include server-side validation function |