Approve holiday request

Approves a holiday request that is assigned to you.

MCP tool peoplehr_write → approve_holiday_request

write Confirm

Approves the request as the account that is signed in, which must be its approver. PeopleHR then tells the employee in Feed. A decided request cannot be changed: it has to be deleted and submitted again. A request that is already decided fails with an error. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: approve_holiday_request
NameTypeDescription
request_id string required string Request ID from list_holiday_requests.
comment string string Comment the employee sees with the decision.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "peoplehr_write",
    "arguments": {
      "operation": "approve_holiday_request",
      "arguments": {
        "request_id": "hol-48210",
        "comment": "Approved, enjoy the break."
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "request_id": "hol-48210",
    "employee": "Priya Nair",
    "start_date": "2026-11-16",
    "end_date": "2026-11-18",
    "status": "Approved",
    "decided_by": "Dana Reyes",
    "comment": "Approved, enjoy the break."
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.