update_user_allowance
Set a user's annual leave allowance for a specified year. Update the amount between 0 and 8784 hours.
Instructions
Set a user's annual allowance for a year.
Args: user_id: The user to update. year: The year to update. amount: The new allowance (0–8784).
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>",
"year": "<year>",
"amount": "<amount>"
},
"name": "update_user_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| amount | Yes | ||
| user_id | Yes |