Tambah hari kerja / Add working days
hari_kerja_berikutnyaTanggal setelah N hari kerja dari suatu tanggal (untuk SLA, tenggat, estimasi pengiriman). N negatif = mundur. N=0 = hari kerja terdekat. Adds N Indonesian working days to a date (start date not counted), skipping weekends, holidays and optionally cuti bersama.
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": {
"n": "<n>"
},
"name": "hari_kerja_berikutnya"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Working days to add (negative = go back, 0 = this date if it is a working day, else the next one). | |
| date | No | Start date. Date as YYYY-MM-DD (also DD-MM-YYYY, DD/MM/YYYY, or "today"/"hari ini" in Asia/Jakarta). Default today. | |
| cuti_bersama_off | No | Treat cuti bersama (collective leave) as a day off. Default true. Set false for businesses that work on cuti bersama. | |
| saturday_working | No | Saturday is a working day (6-day work week). Default false. National holidays on Saturday stay off. |