Amount in words (Vietnamese and English)
amount_in_wordsWrite a whole number or VND amount (0 to 10^15) in words, in Vietnamese (as on invoices and payment orders: lẻ or linh for a zero tens digit, mốt, tư, lăm; nghìn, triệu, tỷ; optional "đồng chẵn") and in English. Examples: {"amount":1234567891}; {"amount":105,"language":"vi","vi_zero":"linh"}; {"amount":25000000,"vi_chan":true,"capitalize":true}.
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": {
"amount": "<amount>"
},
"name": "amount_in_words"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Whole number from 0 to 10^15, e.g. 1234567891. | |
| vi_chan | No | Vietnamese only: end with "đồng chẵn" (an exact amount), as on payment documents. Default false. | |
| vi_zero | No | Vietnamese word for a zero tens digit: "lẻ" (default) or "linh", e.g. 105 = một trăm lẻ năm. | |
| currency | No | Append the currency ("đồng" / "dong"). Default true; false gives the bare number. | |
| language | No | "vi", "en" or "both" (default). | |
| capitalize | No | Capitalize the first letter. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| en | No | ||
| vi | No | ||
| amount | Yes | ||
| disclaimer | Yes | ||
| data_version | Yes |