convert_timezone
Convert timestamps between timezones. Specify source timezone, target timezone, and optional timestamp to get the equivalent time in another zone.
Instructions
Convert timestamps between timezones.
Use this when you need to express times in a different timezone.
Supports common zones: UTC, EST, PST, CET, IST, JST, AEST, etc.
Parameters:
timestamp — ISO date string (default: current time).
from_tz — Source timezone code (default: 'UTC').
to_tz — Target timezone code (default: 'UTC').
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": "convert_timezone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timestamp | No | ||
| from_tz | No | UTC | |
| to_tz | No | UTC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |