count_file_words
Count lines, words, and characters in any local text file to get quick file statistics and insights. Works with plain-text files.
Instructions
统计一个本地文本文件的行数、词数和字符数(类似 wc)。仅支持纯文本文件。
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": {
"path": "<path>"
},
"name": "count_file_words"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 文件路径,如 /tmp/notes.txt |