time.get_current
Get the current date and time for a specified timezone, defaulting to Beijing time. Resolves queries about today's date, time, or day of the week.
Instructions
获取指定时区的当前日期和时间。当用户询问现在几点、今天日期或星期时调用。timezone 使用 IANA 名称,例如 Asia/Shanghai;省略时默认北京时间。
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": "time.get_current"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | Asia/Shanghai |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||