suggest_form_pattern
Recommends optimal form layouts and validation strategies for login, registration, checkout, and other forms based on field count and target platform.
Instructions
Recommend optimal form layout and validation pattern. Returns layout recommendations, field types, and validation strategies.
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": {
"form_type": "<form_type>"
},
"name": "suggest_form_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_type | Yes | Type of form (e.g., 'login', 'registration', 'checkout', 'contact', 'search') | |
| field_count | No | Approximate number of fields | |
| platform | No | Target platform | both |