action_holiday
Approve, decline, or cancel holiday bookings. Optionally add a reason and suppress notification emails.
Instructions
Approve, decline or cancel a holiday.
Args:
holiday_id: The holiday ID (or a holiday token).
action: Approve, Decline, Delete (cancel this booking) or
DeleteGroup (cancel the whole group booking).
reason: Optional reason, typically used when declining/cancelling.
suppress_emails: Suppress notification emails when actioning.
Raises a webhook event if webhooks are configured.
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": {
"holiday_id": "<holiday_id>",
"action": "<action>"
},
"name": "action_holiday"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| reason | No | ||
| holiday_id | Yes | ||
| suppress_emails | No |