bank_days
Adds or subtracts Swedish bank days (weekends, public holidays and midsommarafton, julafton, nyarsafton excluded) to a date. Optional mode=work counts only weekends and red days. Returns the result date with weekday, ISO week and holiday names for both dates.
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": {
"from": "<from>",
"add": "<add>"
},
"name": "bank_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | Yes | Bank days to add (negative to go back, max 1000). | |
| from | Yes | Start date, YYYY-MM-DD. | |
| mode | No | bank (default) or work. |