check_date
Check whether a given date is a workday, weekend, statutory holiday, or adjusted workday in China, returning its weekday, holiday name, and rest status.
Instructions
查询某一天是工作日、周末、法定节假日还是调休上班日。
Args: date_str: 日期,支持 2026-01-01 / 2026/1/1 / 20260101 / 今天 / 明天
Returns: JSON:日期、星期、类型、所属假期、是否休息
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_str": "<date_str>"
},
"name": "check_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_str | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |