is_workday
Determine if a date is a workday or school day in China, including statutory holidays and adjusted workdays. Enter a date or 'today'/'tomorrow' to receive a boolean result and reasoning.
Instructions
判断某一天是否需要上班/上学(考虑节假日与调休)。
Args: date_str: 日期,支持多种写法与"今天/明天"
Returns: JSON:is_workday 布尔结果及判定依据
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": "is_workday"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_str | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |