tz_convert
op=convert moves an ISO time between IANA timezones; op=diff returns the span between two ISO times (days/hours/minutes/seconds, plus business days if country is given); op=add_business_days steps N working days from a date, skipping weekends and public holidays of the given country. Cost €0.0005 per call, charged to the API key in Authorization: Bearer. Parameters — op: convert (default) | diff | add_business_days; time: ISO datetime (convert); source: IANA tz (convert); to: IANA tz (convert); start: ISO datetime (diff); end: ISO datetime (diff); date: ISO date (add_business_days); days: integer, can be negative (add_business_days); country: ISO country code for holidays, optional; subdiv: state/region code, optional.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tz_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | ||
| to | No | ||
| end | No | ||
| date | No | ||
| days | No | ||
| time | No | ||
| start | No | ||
| source | No | ||
| subdiv | No | ||
| country | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |