get_current_date
Retrieve current date or calculate dates from relative terms like yesterday, tomorrow, or specific dates. Use this tool to get accurate date information for scheduling and time-based operations.
Instructions
获取当前日期, 如果用户没有提供日期, 则返回当前日期, 如果用户提供的是相对单位, 如前天, 昨天, 明天, 则返回相对单位后的日期
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"date": "<date>"
},
"name": "get_current_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | 日期 比如2025-05-29 或者 前天 昨天 明天 |