format_short_number
Convert large numbers into compact Persian or Latin forms, such as ۲٫۵ میلیون or 2.5M, with optional units like تومان.
Instructions
Short Persian number form: 2500000 -> '۲٫۵ میلیون', 1200 -> '۱٫۲ هزار' (style 'latin' gives 2.5M). Optional unit like تومان.
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": "format_short_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| style | No | ||
| value | Yes | ||
| maxFraction | No | ||
| persianDigits | No |