analyze_text
Compute word, character, and sentence counts for any text and get an estimated reading time.
Instructions
Compute word, character, and sentence counts plus an estimated reading time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to analyze. Must be non-empty. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| word_count | Yes | Number of whitespace-separated words. | |
| sentence_count | Yes | Number of sentences, split on '.', '!', and '?'. | |
| character_count | Yes | Total number of characters, including whitespace. | |
| average_word_length | Yes | Mean number of characters per word. | |
| estimated_reading_time_seconds | Yes | Estimated reading time at 200 words per minute. |