Add time off
Add vacation, a public holiday, sick leave or other time off for people.
MCP tool resource_guru_write → add_time_off
write Confirm
Returns the entry with its ID. Bookings that clash with the time off move to the waiting list unless block_on_clash is true. Time off counts in reports only where it overlaps working hours. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| resource_ids integer[] required | integer[] | IDs of the people, placeholders or other resources to book, from list_resources. |
| from string required | string | First day, YYYY-MM-DD. |
| to string required | string | Last day, YYYY-MM-DD. |
| type string required | string | Vacation/Holiday (personal), Public holiday, Sick leave, Maternity/paternity leave or Compassionate leave. |
| details string | string | Notes on the time off. |
| block_on_clash boolean | boolean | True to fail instead of moving clashing bookings to the waiting list. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "resource_guru_write",
"arguments": {
"operation": "add_time_off",
"arguments": {
"resource_ids": [
1
],
"from": "from",
"to": "to",
"type": "type"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"id": 902116,
"resource_ids": [
18215
],
"from": "2026-12-16",
"to": "2026-12-20",
"type": "Vacation/Holiday (personal)",
"moved_to_waiting_list": 0
},
"isError": false
}