convert_timezone
Re-anchor an ISO datetime from one IANA timezone to another. Accepts the common timezones (UTC, America/, Europe/, Asia/Kolkata, Asia/Tokyo, etc.). Returns the equivalent ISO datetime in the target timezone + the offset difference in hours.
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": {
"iso": "<iso>",
"from_tz": "<from_tz>",
"to_tz": "<to_tz>"
},
"name": "convert_timezone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iso | Yes | Input datetime, ISO 8601. | |
| to_tz | Yes | Target IANA timezone. | |
| from_tz | Yes | Source IANA timezone. |