Count words and characters
count_textCount words, code points, graphemes, sentences, and paragraphs, and compare the length with SEO and social limits.
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 | Text to count. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| words | Yes | ||
| graphemes | Yes | ||
| platforms | Yes | ||
| sentences | Yes | ||
| characters | Yes | ||
| paragraphs | Yes | ||
| uniqueWords | Yes | ||
| readingLabel | Yes | ||
| speakingLabel | Yes | ||
| charactersNoSpaces | Yes |