> This page is for Agent Handler.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# Zoho People

**Authentication:** OAuth. When connecting, pick the data center your Zoho People account is hosted in (the domain you sign in at, such as `people.zoho.eu` for Europe). See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow, or [Application credentials](/merge-agent-handler/admin-setup/add-oauth-credentials) to bring your own OAuth app.

To upload a file, stage it with the [file upload API](/merge-agent-handler/build/tools/file-transfers) and pass the returned `file_reference` to `upload_file`. Use `get_file` for metadata, `read_file_text` for extracted text, and `download_file` for a download link.

## Sample use cases

* List the leave requests pending approval this month and summarize them by department
* Apply for two days of leave for `alice@acme.com` and confirm her remaining balance
* Pull a week of attendance entries for an employee and flag days with missing check-outs

## Available tools

#### apply_permission

Apply for an hourly permission (time off within a day).

#### approve_on_duty_request

Approve (1) or reject (0) an on-duty request and each of its days.

#### approve_timesheet

Approve or reject a submitted (pending) timesheet, whole or per time log.

#### approve_wfh_request

Approve (1) or reject (0) a pending work-from-home request.

#### cancel_compoff_request

Cancel a compensatory-off request (it stays on record with status CANCELLED).

#### cancel_leave_grant

Cancel a leave grant request (it stays on record with status CANCELLED).

#### cancel_leave_request

Cancel a leave request (it stays on record with status Cancelled).

#### cancel_on_duty_request

Cancel an on-duty request (kept on record as cancelled).

#### cancel_permission

Cancel an hourly permission request. Needs recordId and formId from list_permission_requests.

#### cancel_wfh_request

Cancel a work-from-home request (it stays on record with status Cancelled).

#### create_announcement

Post a new company announcement (subject and message required), optionally sticky, location-targeted or emailed.

#### create_attendance_entries

Bulk-add attendance entries (punch in/out rows for one or more employees).

#### create_case

Raise an HR help desk case (query) in a category.

#### create_client

Create a time-tracker client (name and currency required).

#### create_compoff_request

Request compensatory off for a day an employee worked (typically a weekend or holiday).

#### create_form_record

Add a record to any form (department, designation, custom form...).

#### create_holiday

Add a company holiday (name and dd-MMM-yyyy dates), optionally limited to locations or shifts, half-day sessions, a classification and an email reminder.

#### create_leave_grant

Request a leave grant (credit extra days/hours of a grant-enabled leave type to an employee).

#### create_leave_request

Apply for leave for an employee (identify them by erecno, email or employee ID).

#### create_on_duty_request

Raise an on-duty request (work away from office).

#### create_regularization

Raise an attendance regularization (correct missed or wrong check-in/out).

#### create_shift_mapping

Assign a shift to an employee for a date range.

#### create_timelog

Log time for a user on a job: pass hours, or from_time+to_time.

#### create_timesheet

Bundle a user's time logs for a period (max one month) into a timesheet, optionally filtered by job/project/client and submitted for approval.

#### create_wfh_request

Submit a work-from-home request for an employee (erecno) for a date range, optionally with a staged attachment.

#### delete_announcement

Permanently delete an announcement and all its data (comments, likes).

#### delete_attendance_entry

Delete one attendance entry by entry_id (from list_attendance_entries).

#### delete_clients

Delete one or more time-tracker clients by ID (up to 200). Use list_clients to find client IDs.

#### delete_compoff_request

Permanently delete a compensatory-off request. Use list_compoff_requests to find the compensatory_id.

#### delete_file

Permanently delete one or more files (up to 100) by ID.

#### delete_holiday

Permanently delete a holiday. Use list_holidays to find the holiday ID.

#### delete_jobs

Delete one or more time-tracker jobs by ID (up to 200). Use list_jobs to find job IDs.

#### delete_leave_grant

Permanently delete a leave grant request. Use list_leave_grants to find the grant ID.

#### delete_leave_request

Permanently delete a leave request. Use cancel_leave_request to keep it on record instead.

#### delete_on_duty_requests

Permanently delete one or more on-duty requests by recordId (from list_on_duty_requests).

#### delete_projects

Delete one or more time-tracker projects by ID (up to 200). Use list_projects to find project IDs.

#### delete_regularization

Delete a regularization request by recordId (from list_regularizations). Zoho reports success even for an unknown ID.

#### delete_shift_mapping

Delete a shift mapping by map_id (from list_shift_mappings); the employee falls back to their default shift for those dates.

#### delete_timelogs

Delete one or more time logs by ID (up to 1000).

#### delete_timesheets

Delete one or more timesheets (up to 1000); their time logs remain.

#### delete_user_competencies

Remove 1-20 competencies from an employee.

#### delete_user_kras

Remove 1-20 KRAs from an employee. Pass the user-KRA record IDs (zoho_id from list_user_kras), not the library KRA IDs.

#### delete_user_skills

Remove 1-20 skills from an employee. Pass the user-skill record IDs (zoho_id from list_user_skills), not the library skill IDs.

#### delete_wfh_requests

Permanently delete one or more work-from-home requests by recordId (from list_wfh_requests).

#### download_file

Get a Zoho People file itself (any format, any size) by ID as a merge_file_transfer link the file service fetches; the bytes never pass through the agent.

#### enroll_course_learners

Enroll employees as learners in a published LMS course.

#### get_announcement

Get one announcement by ID, with its like and comment counts. Use list_announcements to find the announcement_id.

#### get_attendance_entry

Get one attendance entry (punch in/out, source, notes, employee) by entry_id.

#### get_attendance_user_report

Daily attendance report (status, first in/last out, total/working hours, overtime, deviation, shift) for a date range.

#### get_case

Get one HR case's details: subject, description, status, category, requestor, agent, SLA, attachment metadata and the statuses the user may set.

#### get_client

Get one time-tracker client's details by ID. Use list_clients to find the client ID.

#### get_course_progress

Get every enrolled learner's progress in an LMS course: completion status, percent, items completed, enrollment and completion dates.

#### get_employee_salary

Get an employee's current salary record: package, CTC, currency and effective date.

#### get_employee_salary_components

Get one employee's active salary breakup: each component's monthly and annual amount, plus benefits.

#### get_employee_shift

Get the shift configured for one employee on each day of a range (shift ID/name, start/end, weekend and holiday flags).

#### get_file

Get one file's METADATA (name, folder, owner, dates, acknowledgement settings) by ID; never the file content.

#### get_form_record

Get one record of a form by record ID, with all its field values and tabular rows.

#### get_form_record_count

Count the records in a form without fetching them, e.g. how many employees or departments exist.

#### get_holiday

Get one holiday by ID: name, dates, per-day sessions, applicable locations/shifts, classification and reminder settings.

#### get_job

Get one time-tracker job (project, client, assignees, dates, status) by ID. Use list_jobs for IDs.

#### get_leave_booked_balance_report

Booked and balance leave per employee and leave type for a date window, plus every leave type in the org with its ID, name, code and category.

#### get_leave_grant

Get one leave grant request by ID: employee, leave type, count, effective date and approval status.

#### get_leave_request

Get one leave request by ID: employee, leave type, dates, per-day breakdown, approval status and audit times.

#### get_leave_type_summary_report

Per-employee summary for one leave type over a required date window: opening balance, granted, booked, lapsed, encashed, loss of pay and closing balance.

#### get_leave_user_report

Leave balances for one employee in the current leave year: each applicable leave type with its ID, taken and available counts.

#### get_loss_of_pay_report

Loss-of-pay report for a pay period: per employee, unpaid leave booked, LOP, waived, carried over and totals.

#### get_my_compensation

Get the connected user's own compensation: current package and CTC, earnings and deductions totals, and revision history.

#### get_organization

Get the Zoho People organization's details: company name, contact person, address, time zone and date/time formats.

#### get_permission_balance

Get the remaining time (seconds) of an hourly permission type for an employee on a date.

#### get_project

Get one time-tracker project (head, managers, users, client, status) by ID. Use list_projects for IDs.

#### get_running_timer

Get the connected user's currently running timer, if any (`running=false` when none).

#### get_shift_mapping

Get one shift mapping (dates, shift, who mapped it) by map_id from list_shift_mappings.

#### get_survey_summary

Get a survey's participation summary: employees targeted, responses, completed/partial/opted-out counts and response rate, optionally for one recurrence or filtered by…

#### get_timelog

Get one time log by ID, optionally with its timer intervals. Use list_timelogs to find the ID.

#### get_timesheet

Get one timesheet with its time logs, totals and approval state. Use list_timesheets to find the ID.

#### get_wfh_request

Get one work-from-home request (dates, status, description, approver flags) by recordId from list_wfh_requests.

#### list_announcements

List announcements, 10 per call, optionally only sticky ones or matching a keyword.

#### list_applicable_permissions

List the hourly permission types (permissionId, name, allowance) that apply to an employee.

#### list_attendance_entries

List check-in/check-out attendance entries for a date window (from_date+to_date) or the last N minutes (last_modified_within), optionally for one employee (employee_id, email, erecno or biometric ID).

#### list_case_categories

List the HR help desk categories the user can raise cases in, with whether each needs a description.

#### list_cases

List HR help desk cases, 25 per call: ones the user raised (default), assigned to them, unassigned, open, or all, with status/category/requestor/period/search filters (per view).

#### list_clients

List time-tracker clients, optionally filtered by name (search_text + search_match_type), with offset pagination.

#### list_compoff_requests

List compensatory-off requests (credit earned for working on a holiday or weekend), filtered by worked-date window, employee, department, location, approval or credit status, with sort and pagination.

#### list_courses

List LMS courses. Search by name; filter by type, category, trainer, state, date range, or shared/suggested to the user; sort by name.

#### list_files

List file METADATA (no file content) in the employee, organization or personal file area, with search, folder/employee/org-structure filters, sort and pagination.

#### list_folders

List file folders (categories), optionally filtered by name. Returns folder IDs for list_files' folder_id filter.

#### list_form_fields

List a form's fields: label names (the keys for create/update_form_record input_data and record search), types, mandatory flags, picklist options and lookup targets, plus tabular sections.

#### list_form_records

List records of any form (employees, departments, custom forms), with filters: search_conditions on field values, an employee ID/email lookup, and modified_since.

#### list_forms

List every Zoho People form the user can access (employee, department, designation, leave, timesheet jobs, custom forms) with its form_link_name.

#### list_holidays

List company holidays in a date window (default: current leave year), filtered by location, shift or holiday classification, with pagination.

#### list_jobs

List time-tracker jobs (filter by assignee, owner, client, project, status, name).

#### list_leave_grants

List leave grant requests (extra leave credited to employees), filtered by effective-date window, leave type, employee, department, location and approval status, with sort and pagination.

#### list_leave_requests

List leave requests whose dates fall in a required from_date/to_date window (dd-MMM-yyyy), with filters for employee, department, location, leave type, category and approval status, plus sort and…

#### list_on_duty_requests

List on-duty requests (work away from the office, e.g. client visits), filterable by window, employees and status.

#### list_on_duty_types

List the org's on-duty types (ID and name, e.g. 'Client visit') and on-duty settings.

#### list_org_competencies

List competencies in the organization's performance library.

#### list_org_divisions

List the organization's divisions (with parent division) from the org structure, paged.

#### list_org_entities

List the organization's legal entities (companies) from the org structure, paged.

#### list_org_kras

List KRAs (key result areas) in the organization's performance library, with rating ranges.

#### list_org_skills

List skills in the organization's performance library.

#### list_org_units

List the organization's business units from the org structure, paged. Returns unit IDs for list_files' unit_id filter.

#### list_pay_periods

List the organization's pay period settings (ID, name, frequency).

#### list_permission_requests

List hourly permission requests (short time-off within a day), filterable by date window, employees and status.

#### list_projects

List time-tracker projects with filters (assigned users, client, status, heads, managers, name search) and offset pagination.

#### list_regularization_reasons

List the reasons configured for regularization requests; use one as reasonanddesc.reason in create_regularization.

#### list_regularizations

List attendance regularization requests (corrected check-in/out) in a date range, filterable by status and employee, or fetch one by record_id.

#### list_related_records

List a form's records that point to one parent record through a lookup, e.g. the timesheet jobs of a project or records of an employee.

#### list_salary_components

List the organization's configured salary components and benefits (name, code, calculation, frequency).

#### list_salary_packages

List salary packages with their currency, amount and applicability.

#### list_salary_revisions

List employees' salary revisions (revised CTC, reason, effective date, status).

#### list_shift_mappings

List shift mappings (which shift is assigned to an employee for which dates) in a window, grouped by employee.

#### list_shift_schedules

List the shift an employee works on each day of a window (shift ID, name, start/end).

#### list_surveys

List engagement/eNPS/pulse surveys the connected user owns (not ones they must answer), with type, name, state, date-window and metric filters, sort and pagination.

#### list_timelogs

List time logs for a user or 'all' in a date range (max one month; defaults to today), filtered by job, project, client, billing or approval status.

#### list_timesheets

List timesheets for a user or 'all', filtered by approval status, employee status and date range, with pagination.

#### list_user_competencies

List the competencies tagged to one employee, with weightage.

#### list_user_kras

List the KRAs tagged to one employee, with weightage and approval status.

#### list_user_skills

List the skills tagged to one employee, with level and approval status; set is_revision for revision history.

#### list_views

List the default and custom views of every form (view ID, name, display name).

#### list_wfh_requests

List work-from-home requests in a date window (max 31 days), filterable by status, employees, team, department, location and more.

#### pause_resume_timer

Pause (stop) or resume a timer time log.

#### read_file_text

Read a Zoho People file's TEXT (PDF, DOCX, XLSX, plain text) by ID, extracted server-side; returns text plus extraction_status.

#### record_check_in_out

Record an employee's check-in and/or check-out (one punch, as a time clock would).

#### set_announcement_status

Enable or disable an announcement (disabling keeps its data).

#### start_timer

Start a new running timer (a timer-type time log) for the connected user on a job.

#### tag_user_competencies

Tag 1-20 library competencies to an employee with a weightage each.

#### tag_user_kras

Tag 1-20 library KRAs to an employee with a weightage each.

#### tag_user_skills

Tag 1-20 library skills to an employee with a level each.

#### trigger_onboarding

Start the onboarding process for an existing employee or candidate (sends their onboarding portal invite and moves onboarding to in progress).

#### update_announcement

Edit an announcement. subject and message are required and replace the current ones; use get_announcement to read them first.

#### update_attendance_entry

Edit one attendance entry's check-in/check-out time or notes.

#### update_client

Modify a time-tracker client (admin only). Only fields you pass change. Use list_clients to find the client_id.

#### update_compoff_request

Edit a compensatory-off request. Send the full set: employee erecno, worked date, unit and duration are required.

#### update_form_record

Update fields of a form record (only fields in input_data change), and add/change/delete tabular rows via tabular_data.

#### update_holiday

Edit a holiday; pass only the fields to change (name, dates, sessions, locations, shifts, description, reminder).

#### update_job_status

Mark a time-tracker job COMPLETED or back IN_PROGRESS. Use list_jobs to find the job_id.

#### update_leave_grant

Edit a leave grant request's employee, leave type, count, effective date or reason; pass only what changes.

#### update_leave_request

Edit a leave request's leave type, dates, unit or reason.

#### update_project_status

Mark a time-tracker project COMPLETED or back IN_PROGRESS.

#### update_timelog

Modify a time log. Zoho requires user, job_id, work_date and billing_status on every edit (copy them from list_timelogs/get_timelog).

#### assign_user_shift

Map an employee (by employee ID) to a shift by shift name for a date range; days already mapped inside the range are overwritten and the surrounding days split off.

#### create_and_tag_user_kra

Create a new KRA and tag it to one employee in one call (optionally also adding it to the library).

#### create_job_schedule

Schedule a user on a job for a date and time slot, optionally repeating or published at once.

#### create_org_competencies

Add 1-20 competencies to the organization's performance library.

#### create_org_kras

Add 1-20 KRAs (key result areas) to the organization's performance library, with optional rating ranges.

#### create_org_skills

Add 1-20 skills to the organization's performance library.

#### create_org_structure_record

Create a legal entity, business unit or division in the organization structure.

#### create_review_questions

Add 1-20 review questions to the organization's performance library.

#### delete_job_schedule

Delete a job schedule, or its repeat series.

#### delete_org_competencies

Delete 1-20 competencies from the organization library by library competency ID (zoho_id from list_org_competencies).

#### delete_org_kras

Delete 1-20 KRAs from the organization library by library KRA ID (zoho_id from list_org_kras).

#### delete_org_skills

Delete 1-20 skills from the organization library by library skill ID (zoho_id from list_org_skills).

#### delete_review_questions

Delete 1-20 review questions from the library by ID (zoho_id from list_review_questions).

#### get_employee_salary_revisions

Get every salary revision of one employee (revised CTC, change amount and percent, reason, effective date, status), newest first.

#### get_form_record_sections

Get one form record grouped by the form's sections (e.g. 'Work Information'), with every tabular row and its row_id, which update_form_record's tabular_data needs to change or delete a row.

#### get_job_work_items

List the work items assigned to a time-tracker job (legacy job details route; get_job does not return them).

#### get_learner_course_progress

Get one learner's progress in every LMS course they are enrolled in: completion status and percent, items completed, enrollment and completion dates.

#### get_learner_plan_course_progress

Get one learner's progress in each course of one learning plan (status, percent, items completed).

#### get_learner_plan_progress

Get the learning plans one learner is enrolled in, with whether they joined and completed each.

#### get_org_structure_record

Get one legal entity, business unit or division by ID: name, description, code, head and (divisions) parent division.

#### get_survey_question_stats

Get per-question statistics of a survey: response counts, average and most selected answers, NPS promoters/detractors, plus average NPS/star/scale scores; optionally for one recurrence or filtered by…

#### get_timer_comments

List the comments/notes on a timer time log.

#### get_wfh_policy

Get an employee's work-from-home policy before create_wfh_request: allowed/available days in the period, restricted weekdays, configured reasons, whether description/reason/attachment are mandatory,…

#### list_applicable_holidays

List the holidays that apply to one employee, a location name or a shift name (all filters optional; default: the connected user's current leave year), optionally upcoming only or in a window.

#### list_course_batches

List the batches of a blended-learning LMS course (name, dates, capacity, learners, publish state), up to 25 per page.

#### list_job_schedules

List job schedules for a user or 'all' in a date range, one item per scheduled slot with its job_schedule_id, job, times and published state.

#### list_learning_plans

List the organization's LMS learning plans (name, duration, active and mandatory course counts, publish state).

#### list_my_courses

List the LMS courses the connected user has joined, with the same search, type, category, trainer, state, date and sort filters as list_courses.

#### list_review_questions

List review questions in the organization's performance library, with pagination.

#### list_salary_package_components

List the salary components mapped to one salary package (name, code, amount, percentage, calculation type, frequency, part of CTC).

#### list_untagged_user_competencies

List library competencies NOT yet tagged to one employee, i.e. the ones tag_user_competencies can still add.

#### list_untagged_user_kras

List library KRAs NOT yet tagged to one employee, i.e. the KRAs tag_user_kras can still add.

#### publish_job_schedules

Publish every unpublished job schedule of a user (or 'all') in a date range.

#### reopen_onboarding

Reopen onboarding for a candidate whose onboarding status is 'Completed by Candidate', so they can edit their details again (Zoho answers 409 otherwise).

#### update_job_schedule

Edit a job schedule (job, date, times, description, repeat).

#### update_org_competencies

Edit 1-20 competencies in the organization library: name (required) and description.

#### update_org_kras

Edit 1-20 KRAs in the organization library: name (required), description and rating range.

#### update_org_skills

Edit 1-20 skills in the organization library: name (required) and description.

#### update_org_structure_record

Edit a legal entity, business unit or division: only the fields you pass change.

#### update_review_questions

Edit the text of 1-20 review questions. Call list_review_questions first for each zoho_id; read the result back with list_review_questions.

#### update_user_competencies

Change the weightage of 1-20 competencies tagged to an employee (only weightage can change).

#### update_user_kras

Change the weightage of 1-20 KRAs tagged to an employee (only weightage can change).

#### update_user_skills

Change the weightage of 1-20 skills tagged to an employee (only weightage can change; to raise the level use upgrade_user_skill).

#### upgrade_user_skill

Raise an employee's level on a skill already tagged to them, with a reason and an optional staged certificate file.

#### upload_file

Upload a staged file (maximum 5000 KB) to personal, employee or organization files, optionally in a folder and shared with employees, roles or organization units.

#### upload_time_attendance_file

Upload a staged file (file_reference, max 10 MB) to Zoho People's leave/attendance file store and get its local_file_id.