assign_public_holidays_to_user
Assign public holidays to a user by providing their user ID and country code, with an optional region code. Uses your organisation's custom set if already configured.
Instructions
Assign a set of public holidays to a user (enabling them if needed).
Args:
user_id: The user's ID.
country_code: ISO 3166-1 alpha-2 country code (e.g. "ES" for Spain).
region_code: Full region code (e.g. "GB-SCT" for Scotland,
"ES-AN" for Andalucía).
If the chosen country/region is already used by your organisation, that (possibly customised) set is used; otherwise the standard set is assigned.
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>"
},
"name": "assign_public_holidays_to_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| region_code | No | ||
| country_code | No |