get_file_metadata
Retrieve file or directory metadata (size, type, modification time, permissions) to investigate file properties and check access rights.
Instructions
Returns metadata about a file or directory: path, size, type, modification
time, and permissions. Path must be within allowed roots.
Use this when investigating file properties, checking permissions, or
assessing file sizes. Does not modify system state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |