Update time off
update_time_offChanges the kind, the days, the minutes off each day or the note of a time off; what is not given stays as it was, and null minutes make it the whole working day again. A person changes their own (changing the kind, the days or the minutes of an approved or rejected one asks the owners for approval again); on Pro, the owner of a project changes the time off of its editors (the note stays the person's). The whole result is checked again: at most 366 days, ending on or after the first day.
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": {
"timeOffId": "<timeOffId>"
},
"name": "update_time_off"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | vacation, sick or other. Default vacation. | |
| note | No | Up to 300 characters. Only the person writes it and only they read it back. | |
| endDay | No | The last day off, YYYY-MM-DD. | |
| startDay | No | The first day off, YYYY-MM-DD. | |
| timeOffId | Yes | A time off of the user or of an editor of one of the user's projects. | |
| minutesPerDay | No | Minutes off each day (240 is half a working day), between 1 and the person's working day. null or missing: the whole working day. |