Get File Info
get_file_infoRetrieve metadata for a file or directory, including permissions, owner, size, and timestamps. Use it to inspect Linux filesystem details for audits or changes.
Instructions
Get file metadata: permissions, owner, size, timestamps (stat).
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 | Absolute path to file or directory |