count_workdays
Count actual workdays between two dates by excluding Chinese public holidays and including adjusted make-up workdays, so scheduling and staffing calculations follow official 2024–2026 schedules.
Instructions
统计日期区间内的实际工作日天数(自动排除节假日、计入调休补班日)。
Args: start_date: 开始日期(含) end_date: 结束日期(含)
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "count_workdays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | ||
| start_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |