convert_time
Convert any datetime between IANA timezones with correct DST and date-boundary handling, including multiple target zones in one call.
Instructions
Convert a datetime between IANA timezones. Correctly handles DST transitions and date-boundary changes. Never hardcodes UTC offsets. Use IANA timezone names (e.g. 'America/New_York', 'Asia/Tokyo'). Can convert to multiple timezones at once.
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": {
"datetime": "<datetime>",
"from_timezone": "<from_timezone>",
"to_timezone": "<to_timezone>"
},
"name": "convert_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datetime | Yes | ISO 8601 datetime to convert | |
| to_timezone | Yes | Target IANA timezone(s). Pass a string or array for multiple targets. | |
| from_timezone | Yes | Source IANA timezone |