stat
Describe a file, directory, or symlink path to retrieve its kind, size, modified time, and type-specific details like line counts for text files or image format.
Instructions
Describe a path: kind (file, dir, symlink), size, modified time, line count for text files, image type for images.
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": "stat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to describe; "." for the top. |