Add or Subtract Days
add_daysFind the date N days (or N business days) after or before a date, with its weekday and Japanese era date (wareki). unit "business" skips Saturdays, Sundays and Japanese national holidays; "weekdays" skips only weekends. Good for deadlines in Japan. N from 0 to 100,000.
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>",
"days": "<days>"
},
"name": "add_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | How many days to move. | |
| lang | No | Language of the user. Use "ja" when the user writes in Japanese (affects the source link and notes). Default "en". | |
| unit | No | "calendar" (default), "business" (Japan: skip weekends and national holidays) or "weekdays" (skip weekends only). | |
| direction | No | Default "after". | |
| start_date | Yes | Date in YYYY-MM-DD (1873-01-01 to 2200-12-31) |