convert_timezone
Convert an ISO-8601 timestamp to a target IANA timezone to get localized time, UTC offset, and a readable format. Use it to display or compare a moment in another region's local time.
Instructions
Converts an ISO-8601 timestamp to a target IANA timezone. The input timestamp must include timezone information or be in UTC. Returns the localised time, UTC offset, and human-readable format. Use when you need to display or compare a moment in another region's local time.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"timestamp": "<timestamp>",
"target_tz": "<target_tz>"
},
"name": "convert_timezone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_tz | Yes | Target IANA timezone identifier. | |
| timestamp | Yes | ISO-8601 timestamp to convert. |