countWords
countWordsCount words in text to analyze content length, track writing progress, or meet character limits. This tool processes any input string and returns the total word count.
Instructions
Count the number of words in text
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": "countWords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |