Count words
word-countCount words, characters, and lines in provided text to measure content length for writing, editing, or validation.
Instructions
Count the words, characters and lines in a piece of 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": "word-count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to measure |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| words | Yes | ||
| characters | Yes |