script_stats
Counts Arabic and Latin letters, diacritics, and words in text, and calculates the Arabic-to-all-letters ratio to help analyze script composition.
Instructions
Count Arabic/Latin letters, diacritics and words; arabic_ratio is Arabic letters over all letters.
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": "script_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||