Add an absence
Add a full-length absence for an employee in a unit.
MCP tool quinyx_write → add_absence
write Confirm
Does what the Add Absence panel does: it picks the employee, dates, absence type and who must approve, and saves. The response shows the employee's Time Tracker balance. Part-time absences, split per shift or per day, are not part of this tool. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| employee_id string required | string | Employee id from list_employees. |
| group_id string required | string | Unit id from list_groups. |
| start string required | string | Start, YYYY-MM-DD or YYYY-MM-DDTHH:MM. |
| end string required | string | End, same format as start. |
| absence_type string required | string | Name of an absence type your account has. |
| all_day boolean | boolean | Treat the absence as whole days. Default false. |
| approval string | string | Who must approve the absence: employee, manager or both. |
| comment string | string | Optional comment. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "quinyx_write",
"arguments": {
"operation": "add_absence",
"arguments": {
"employee_id": "employee_8c41d2",
"group_id": "group_8c41d2",
"start": "start",
"end": "end",
"absence_type": "absence type"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"absence_id": "66104",
"employee": "Maria Silva",
"absence_type": "Sick leave",
"start": "2026-10-26",
"end": "2026-10-27",
"all_day": true,
"approval": "manager",
"status": "saved"
},
"isError": false
}