arabic_to_words
Converts integers to Arabic cardinal words, supporting feminine grammatical gender for accurate localization.
Instructions
Convert an integer to its full Arabic cardinal words (e.g. 1234567 -> "مليون ومئتان وأربعة وثلاثون ألفاً وخمسمئة وسبعة وستون").
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": {
"n": "<n>"
},
"name": "arabic_to_words"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | The integer to convert to Arabic words. | |
| feminine | No | Use feminine grammatical gender for the counted noun. |