convert_digits
Converts digits in text between Urdu numerals and Latin 0-9, letting you switch scripts for localized or standard number display.
Instructions
Convert the digits in text to Urdu digits (to="urdu") or back to 0-9 (to="latin").
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": {
"text": "<text>"
},
"name": "convert_digits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | urdu | |
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |