Terbilang (angka ke kata)
terbilangMengubah angka menjadi kata-kata Bahasa Indonesia (terbilang) untuk kuitansi/invoice. Converts a number to Indonesian words: up to 999 kuadriliun, decimals with "koma", negatives, optional "rupiah" suffix and "sen", correct seratus/seribu/sebelas rules. Example: 1500 -> "seribu lima ratus".
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": {
"angka": "<angka>"
},
"name": "terbilang"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sen | No | With rupiah=true: read up to 2 decimals as sen ("... rupiah lima puluh sen") instead of "koma". | |
| angka | Yes | A JSON number, or text such as "1250000", "Rp1.250.000,50" or "1,5 jt". Send very large numbers (>= 2^53) as text. | |
| huruf | No | Letter case: kecil (lower), awal (first letter), judul (Title Case), besar (UPPER). | kecil |
| rupiah | No | Append "rupiah". | |
| kata_negatif | No | Word used for negative numbers. | minus |