get_current_time
Retrieve the current time in ISO-8601 format. Optionally specify an IANA timezone like 'Asia/Shanghai' or 'UTC' to get time in that zone.
Instructions
获取当前时间。
Args: tz: 可选 IANA 时区名(例如 "Asia/Shanghai", "UTC", "America/New_York")。未提供时使用系统本地时区。
Returns: ISO-8601 格式的时间字符串。
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 |
|---|---|---|---|
| tz | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |