count-characters
Count how many times a specific character appears in any given text. Provide the text and the character to get an exact occurrence count.
Instructions
Counts occurrences of a specific character 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>",
"character": "<character>"
},
"name": "count-characters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to analyze | |
| character | Yes | The character to count |