file_stats
Get quick stats for files (lines, words, characters) or directories (file count and total size).
Instructions
Report quick stats for a file (lines/words/chars) or a directory (file count and total size).
Args: path: File or directory relative to the root.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "file_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |