get_current_time
Retrieve the current date and time in any IANA timezone as ISO, localized, or Unix timestamp output for scheduling, logging, and time-sensitive tasks.
Instructions
获取当前日期和时间
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": "get_current_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 时间格式:'iso'(ISO 8601)、'locale'(本地格式)、'timestamp'(时间戳)。默认为 'iso' | |
| timezone | No | 时区(例如:Asia/Shanghai, UTC, America/New_York)。默认为系统时区 |