convert_time
Convert a time from one city to another to see the local time at the destination. Enter a time, source city, and target city for accurate cross-city time conversion.
Instructions
Convert a time in one city to the local time in another city.
Args:
time: Time in the source city: "14:30", "2:30 PM", or "2026-03-29 14:30" /
"2026-03-29 2:30 PM" for a specific date. Time-only values are taken as today in from_city.
from_city: City (or IANA zone) the time belongs to.
to_city: City (or IANA zone) to convert the time to.
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": {
"time": "<time>",
"from_city": "<from_city>",
"to_city": "<to_city>"
},
"name": "convert_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | ||
| to_city | Yes | ||
| from_city | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||