get-current-time
Retrieve current date and time with timezone support and relative date calculations for scheduling train ticket queries in China.
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 |
|---|---|---|---|
| timezone | No | 时区 | Asia/Shanghai |
| format | No | 日期格式 | YYYY-MM-DD |