get_current_time
Retrieve the current time for any timezone worldwide, with default support for China Standard Time. Use this tool to get formatted timestamps when AI needs accurate time information.
Instructions
获取指定时区的当前时间
当AI需要知道当前时间时可以调用此工具。
支持世界各地的时区,默认使用中国标准时间。
Args:
timezone: 时区名称,常用时区包括:
- Asia/Shanghai (中国标准时间)
- UTC (协调世界时)
- America/New_York (美国东部时间)
- Europe/London (英国时间)
- Asia/Tokyo (日本时间)
Returns:
格式化的当前时间字符串,格式为: YYYY-MM-DD HH:MM:SS 时区
Raises:
ValueError: 当提供的时区名称无效时
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | Asia/Shanghai |