list_leave_allocations
Retrieve and filter employee leave allocations in Odoo by employee, leave type, or status to manage time-off balances.
Instructions
List leave allocations.
Args:
employee_id: Filter by employee ID (optional)
leave_type_id: Filter by leave type ID (optional)
state: Filter by state: draft, confirm, validate, refuse (optional)
limit: Maximum number (default: 50)
offset: Offset for pagination (default: 0)
Returns:
List of leave allocations
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_leave_allocations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| employee_id | No | ||
| leave_type_id | No | ||
| state | No | ||
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |