Convert time
time_convertConvert a civil time from one IANA time zone to another using Intl. Does not call the network.
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_tz": "<from_tz>",
"to_tz": "<to_tz>"
},
"name": "time_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | YYYY-MM-DDTHH:mm in from_tz, or an ISO timestamp. | |
| to_tz | Yes | IANA time zone to convert to. | |
| from_tz | Yes | IANA time zone the time is in. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| to | No | ||
| utc | No | ||
| from | No |