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 | 
Input Schema (JSON Schema)
{
  "properties": {
    "ip": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Ip"
    }
  },
  "type": "object"
}