price_input_snippet
Generates RTL-friendly price field code for React, Vue, vanilla, or core, with digit grouping, caret preservation, Persian word display, and raw value submission.
Instructions
Ready-to-use RTL-friendly price input code: digit grouping while typing with caret preserved, live Persian words (aria-live), raw value submission. variant 'core' returns the shared helpers.
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": {
"variant": "<variant>"
},
"name": "price_input_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant | Yes |