Count words and characters
count_textCount words, characters with and without spaces, sentences and paragraphs in a text, and estimate silent reading time in minutes. Sentence rules follow the language, so abbreviations such as "Dr." do not end a sentence. Accepts up to 200000 characters.
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": "count_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to analyze. | |
| locale | No | Language of the returned tool page link and of the text rules, one of: pl, en, de, es, fr, pt, it, cs, ar, id, tr, el, uk, ro, th, ja, vi, hi. Defaults to en. |