convert_timezone
Convert a date/time between timezones by providing source and target timezone identifiers, including 'now' for current time.
Instructions
Convert a date/time from one timezone to another.
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_tz": "<from_tz>",
"to_tz": "<to_tz>"
},
"name": "convert_timezone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_tz | Yes | Target timezone | |
| from_tz | Yes | Source timezone (e.g. 'PST', 'Asia/Tokyo', '+05:30') | |
| datetime | Yes | Date/time string (ISO 8601 or flexible). Use 'now' for current time. |