第 N 个工作日
workday_addCalculate the nth business day after or before a specific date, correctly excluding weekends and statutory holidays. Use it to determine precise deadlines, such as calculating the date three workdays from now.
Instructions
计算某日期之后(n 为负数则之前)的第 n 个工作日,常用于"3 个工作日内发货"之类的截止日期
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>",
"n": "<n>"
},
"name": "workday_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | 工作日数,可为负 | |
| date | Yes | 日期,格式 YYYY-MM-DD |