convert_time
Convert a datetime string from one timezone to another using source and target IANA timezone names. Accepts 'now' for current time.
Instructions
Convert 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_str": "<datetime_str>",
"from_timezone": "<from_timezone>",
"to_timezone": "<to_timezone>"
},
"name": "convert_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datetime_str | Yes | DateTime string in ISO format (e.g., '2024-01-15T14:30:00') or 'now' for current time | |
| from_timezone | Yes | Source timezone (IANA timezone name) | |
| to_timezone | Yes | Target timezone (IANA timezone name) |