analyze_text
Count words, characters, lines, and approximate sentences in text. Get quick text metrics offline.
Instructions
Count Unicode words, characters, lines, and approximate sentences.
Words are letter/digit sequences (apostrophes within words are kept). Sentences are nonempty pieces separated by '.', '!', or '?'. This is a simple heuristic, not linguistic analysis.
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": "analyze_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |