Get Time By Ip
get_time_by_ipGet the current date and time for the timezone of an IP address (resolved via ip-api.com -> timeapi.io).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ip": "8.8.8.8"
},
"name": "get_time_by_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address to look up |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datetime | Yes | ISO 8601 datetime in the IP's timezone | |
| timezone | Yes | IANA timezone name for the IP geolocation | |
| utc_offset | Yes | UTC offset in ±HH:MM format |