Get file info
get_file_infoRetrieve metadata for a file or directory: size, timestamps, format, plus line count and revision for text files. Check details before reading or writing content.
Instructions
Metadata for a file or directory: size, times, format, plus line count and rev for text files (the rev that writes in a strict zone ask for). Content: read_text_file.
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": "get_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |