get_file_info
Retrieve detailed file information including size, modification date, and permissions. Optionally compute a hash (SHA-256, MD5, SHA-1) for integrity checks.
Instructions
Get detailed information about a file (Size, Modified Date, Permissions).
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": {
"filePath": "<filePath>"
},
"name": "get_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | File path | |
| hashAlgorithm | No | Hash algorithm (sha256, md5, sha1). Empty = return all. | |
| allow_external_access | No | Set to true to allow accessing files outside the project root. User must explicitly approve this action. |