get_file_info
Retrieve remote file or directory metadata via SSH, including size, permissions, owner, and modification time. Provide absolute path and optional host to get the details.
Instructions
Get detailed metadata of a remote file or directory.
Args: path: Absolute path on the remote server. host_name: Named host from SSH_HOSTS config; uses default host if omitted.
Returns: File metadata: size, permissions, owner, modification time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| host_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |