num_format
Deterministic number/currency/percent formatting from CLOSED locale (13) and currency (20) tables, Decimal-based: 1234.567 -> "1,234.567", fr-FR EUR currency -> "1 234,57 €", "12.34%". Free.
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": {
"value": "<value>"
},
"name": "num_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | number | |
| value | Yes | number or numeric string | |
| locale | No | en-US | |
| currency | No | ISO code, required for currency | |
| decimals | No | 0-30; default per style | |
| grouping | No |