ssh_file_stat
Retrieve status information about a file or directory on a remote server via SSH, including existence, type, permissions, size, and timestamps.
Instructions
Get status information about a file or directory.
Returns: Dictionary with file/directory metadata. Includes 'exists': True/False. If exists, includes 'type': ('file', 'directory', 'symlink', 'unknown'), 'mode' (octal string), 'uid', 'gid', 'size', 'atime', 'mtime'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File or directory path to get information about |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||