calculate_severance
Cost of terminating an employee in Brazil, Mexico, the Philippines, the UAE, Spain, Türkiye or Chile: statutory severance, notice, proportional 13th month/aguinaldo, vacation and FGTS items, with the legal rule per line. Dates are YYYY-MM-DD; reason depends on country (ph: redundancy, retrenchment, closure, disease, just_cause, resignation, mutual; br: dismissal, mutual, resignation, just_cause; mx: dismissal, resignation, mutual; ae: termination, resignation, mutual; es: improcedente, objetivo, temporal, resignation; tr: dismissal, resignation; cl: necesidades_empresa, mutuo_acuerdo, renuncia).
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": {
"country": "<country>",
"monthly_gross": "<monthly_gross>",
"start_date": "<start_date>",
"end_date": "<end_date>",
"reason": "<reason>"
},
"name": "calculate_severance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| country | Yes | ||
| options | No | ||
| end_date | Yes | ||
| start_date | Yes | ||
| monthly_gross | Yes |