text_statistics
Count Chinese text characters, Chinese characters, letters, digits, punctuation, lines, and paragraphs with Word-compatible word counting to check document length.
Instructions
统计中文文本的字数、字符数、汉字数、字母数、数字数、标点数、行数和段落数。字数口径与 Word 一致(每个汉字算 1,连续字母或数字算 1 个)。
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": "text_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 要统计的文本 |