persian_ordinal
Converts integer values to Persian ordinal words (3 → سوم, 21 → بیست و یکم) for Persian/RTL interfaces, with an option to render 1 as یکم instead of اول.
Instructions
Persian ordinal words: 3 -> سوم, 21 -> بیست و یکم, 30 -> سیام. 1 gives اول (set firstAsYekom for یکم).
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": "persian_ordinal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| firstAsYekom | No |