api_hr_leave_accrual
Compute prorated employee annual leave accrual, used days and remaining balance from customer-specified policy. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
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": {
"annual_days": "<annual_days>",
"months_worked": "<months_worked>",
"days_used": "<days_used>"
},
"name": "api_hr_leave_accrual"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days_used | Yes | days used; see operation description for units and format | |
| annual_days | Yes | annual days; see operation description for units and format | |
| months_worked | Yes | months worked; see operation description for units and format | |
| carry_forward_days | No | carry forward days; see operation description for units and format |