manage-time-tracking
Manage time tracking by logging work hours, handling leave requests, and tracking holidays. Generate reports for billable time, timesheets, and team availability.
Instructions
Consolidated tool for managing all time tracking entities (logged-time, timeoff, timeoff-types, public-holidays, team-holidays). Handles time logging, leave management, and holiday tracking through a decision-tree approach with comprehensive reporting capabilities.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_type | Yes | The type of time tracking entity (logged-time, timeoff, timeoff-types, public-holidays, team-holidays) | |
| operation | Yes | The time tracking operation to perform | |
| people_id | No | Filter by person ID | |
| project_id | No | Filter by project ID | |
| task_id | No | Filter by task ID | |
| start_date | No | Filter by start date (YYYY-MM-DD) | |
| end_date | No | Filter by end date (YYYY-MM-DD) | |
| date | No | Filter by specific date (YYYY-MM-DD) | |
| billable | No | Filter by billable status (1=billable, 0=non-billable) | |
| locked | No | Filter by locked status (1=locked, 0=unlocked) | |
| status | No | Filter by status (pending, approved, rejected) | |
| timeoff_type_id | No | Filter by time off type ID | |
| department_id | No | Filter by department ID | |
| region_id | No | Filter by region ID | |
| recurring | No | Filter by recurring status (0=one-time, 1=recurring) | |
| active | No | Filter by active status (0=archived, 1=active) | |
| page | No | Page number for pagination | |
| per-page | No | Number of items per page (max 200) | |
| fields | No | Comma-separated list of fields to return | |
| id | No | The entity ID (logged_time_id, timeoff_id, timeoff_type_id, holiday_id) | |
| hours | No | Hours logged or time off hours | |
| notes | No | Notes or description for logged time entries or holidays | |
| reference_date | No | Reference date for UI suggestions | |
| full_day | No | Full day flag (1=full day, 0=partial day) | |
| approved_by | No | User ID who approved | |
| approved_at | No | Approval timestamp | |
| rejected_by | No | User ID who rejected | |
| rejected_at | No | Rejection timestamp | |
| repeat_state | No | Repeat state | |
| repeat_end | No | Repeat end date | |
| name | No | Name of the time off type or holiday | |
| is_default | No | Default flag (0=not default, 1=default) | |
| color | No | Color (hex code) | |
| description | No | Holiday description | |
| region | No | Region or country code | |
| country | No | Country name | |
| type | No | Holiday type | |
| moveable | No | Moveable flag (0=fixed, 1=moveable) | |
| year | No | Year for the holiday | |
| holiday_type | No | Holiday type (0=full day, 1=partial day) | |
| recurrence_pattern | No | Recurrence pattern | |
| created_by | No | User ID who created | |
| all_day | No | All day flag (0=not all day, 1=all day) | |
| timezone | No | Timezone | |
| logged_time_entries | No | Array of logged time entries for bulk creation | |
| timeoff_entries | No | Array of time off entries for bulk creation | |
| format | No | Response format - either "json" or "xml" | json |