get_ip_hostname
Retrieve the hostname associated with an IP address or get the current system's hostname when no IP is specified.
Instructions
Get just the hostname for an IP address.
Args: ip: IP address to lookup. If None, returns current hostname.
Returns: Hostname.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |