timezone_convert
Convert a time from one IANA timezone to another and return the target local time with UTC offset difference for scheduling across regions.
Instructions
多时区换算:把某一时刻从源时区换算到目标时区,返回目标时区的本地时间与偏移差。
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": {
"to_timezone": "<to_timezone>"
},
"name": "timezone_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | 要换算的时刻(ISO 8601),缺省为当前时刻 | |
| to_timezone | Yes | 目标 IANA 时区,如 America/New_York、Asia/Tokyo | |
| from_timezone | No | 源 IANA 时区;缺省用系统时区 |