Generate Form Styles
generate_form_stylesGenerates accessible form CSS from a single brand color, covering labels, inputs, placeholders, hover, focus, error, disabled states, and help text while verifying contrast.
Instructions
Accessible form CSS from one brand color: labels, inputs, placeholders, hover, focus-visible, error and disabled states, help and error text, and checkbox/radio accents, with every contrast requirement verified. Deterministic, no API key needed.
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": {
"brand": "<brand>"
},
"name": "generate_form_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | Yes | Brand color as hex | |
| error | No | Error color as hex | #dc2626 |