get_user_allowance
Retrieve a user's leave allowances, including TOIL and carry-forward, for a specific year or all years.
Instructions
Get allowances, TOIL and carry-forward for one user.
Args: user_id: The user to query. year: Restrict to a single year. Omit for all years.
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": {
"user_id": "<user_id>"
},
"name": "get_user_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| user_id | Yes |