count_words
Count words and generate detailed text statistics, including character count, sentence count, and word frequency. Ideal for analyzing text length and composition.
Instructions
Count words and provide text statistics.
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_words"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to analyze | |
| detailed | No | Include detailed statistics (default: True) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |