list_public_holidays
Retrieve public holidays from Odoo working calendars to plan schedules and manage time off. Filter by year, calendar, and paginate results.
Instructions
List public holidays (global time off) from a working calendar.
Args:
calendar_id: Working calendar ID (default: 1)
year: Filter by year (optional)
limit: Maximum number of entries (default: 50)
offset: Offset for pagination (default: 0)
Returns:
List of public holidays
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_public_holidays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calendar_id | No | ||
| year | No | ||
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |