data.timezone-convert
Convert an offset-aware ISO 8601 instant or a local wall time between IANA time zones with explicit DST gap and repeated-hour handling, nearby transition evidence, and a pinned local time-zone database.
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_timezone": "<target_timezone>"
},
"name": "data.timezone-convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timestamp | Yes | ISO 8601 timestamp. Include Z or an offset for an exact instant, or provide a naive local timestamp together with source_timezone. | |
| ambiguous_time | No | How to resolve a repeated local wall time during a backward DST transition; nonexistent spring-forward times are always rejected | reject |
| source_timezone | No | Required for a timestamp without an offset; optional source display zone for an offset-aware timestamp | |
| target_timezone | Yes | Target IANA time-zone name, for example Europe/London | |
| include_transitions | No | Include previous and next offset transitions within 370 days |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured IANA timezone conversion result | |
| meta | Yes | ||
| service | Yes | ||
| version | Yes | ||
| request_id | Yes | Unique request identifier |