add_user_toil
Add a time off in lieu (TOIL) entry for a user, specifying the year, amount (between -5000 and 5000), and optional description.
Instructions
Add a TOIL (time off in lieu) entry for a user in a year.
Args: user_id: The user to add TOIL for. year: The year the TOIL applies to. amount: TOIL amount (-5000 to 5000). description: Optional description (max 1000 chars).
Returns the ID of the new TOIL entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| amount | Yes | ||
| user_id | Yes | ||
| description | No |