Decline holiday request

Declines a holiday request that is assigned to you.

MCP tool peoplehr_write → decline_holiday_request

write Confirm

Declines the request as the account that is signed in, which must be its approver. PeopleHR then tells the employee in Feed, so give a reason in the comment. A decided request cannot be changed: it has to be deleted and submitted again. By default you confirm each call; you can switch that off for this tool.

Parameters

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

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "peoplehr_write",
    "arguments": {
      "operation": "decline_holiday_request",
      "arguments": {
        "request_id": "request_8c41d2"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "request_id": "hol-48233",
    "employee": "Lena Ortiz",
    "start_date": "2026-12-01",
    "end_date": "2026-12-10",
    "status": "Declined",
    "decided_by": "Dana Reyes",
    "comment": "Freeze week, please pick other dates."
  },
  "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.