update_user_toil
Update a user's time off in lieu (TOIL) record by providing the entry ID, year, amount (-5000 to 5000), and optional description.
Instructions
Update an existing TOIL entry (-5000 to 5000).
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>",
"toil_id": "<toil_id>",
"amount": "<amount>"
},
"name": "update_user_toil"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| amount | Yes | ||
| toil_id | Yes | ||
| user_id | Yes | ||
| description | No |