format_number_european
Formats numeric values according to European country locale conventions, transforming decimal and thousands separators for accurate regional display.
Instructions
Formats a number using the locale conventions of a specific European country — correct decimal and thousands separators. Returns { original, formatted, locale, country_code }. Supports PT, ES, FR, DE, IT, NL, BE, PL, SE, DK, FI, AT, IE, GR, HU, RO, UK.
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": {
"number": "<number>",
"country_code": "<country_code>"
},
"name": "format_number_european"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | The numeric value to format. Example: 1234.56 | |
| country_code | Yes | Two-letter country code. Example: 'PT', 'FR', 'DE' | |
| decimals | No | Number of decimal places. Defaults to 2. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| original | Yes | ||
| formatted | Yes | ||
| locale | Yes | ||
| country_code | Yes |