Hitung hari kerja / Count working days
hitung_hari_kerjaMenghitung jumlah hari kerja di antara dua tanggal (tidak termasuk akhir pekan, libur nasional, dan opsional cuti bersama). Counts Indonesian working days between two dates, inclusive of both by default. Reversed ranges are swapped.
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": "<start>",
"end": "<end>"
},
"name": "hitung_hari_kerja"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End date (inclusive). Date as YYYY-MM-DD (also DD-MM-YYYY, DD/MM/YYYY, or "today"/"hari ini" in Asia/Jakarta). | |
| start | Yes | Start date. Date as YYYY-MM-DD (also DD-MM-YYYY, DD/MM/YYYY, or "today"/"hari ini" in Asia/Jakarta). | |
| count_start | No | Count the start date itself. Default true. Set false for "working days after start, up to and including end". | |
| 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. |