convert_time
Convert a time from one timezone to another using IANA timezone names. Accepts natural language or ISO times and outputs in short, medium, or full format.
Instructions
Convert a 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": {
"fromTimezone": "<fromTimezone>",
"toTimezone": "<toTimezone>"
},
"name": "convert_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Time to convert (ISO string or natural language). Defaults to current time if not provided. | |
| format | No | Output format. Defaults to 'medium' | |
| toTimezone | Yes | Target IANA timezone name (e.g., 'Europe/London') | |
| fromTimezone | Yes | Source IANA timezone name (e.g., 'America/New_York') |