Deny a time off request

Deny one pending time off request, with a message to the person.

MCP tool charliehr_write → deny_time_off_request

write Confirm

Does what Deny does in the approval panel. Same roles as approve_time_off_request. The message goes to the team member, so say why. A denied request frees the days again. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: deny_time_off_request
NameTypeDescription
request_id string required string Id from list_time_off_requests
note string string Message to the team member

tools/call

JSON-RPC

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

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "request_id": "tor_9a07d1",
    "member": "Priya Nair",
    "type": "Holiday",
    "start_date": "2026-11-16",
    "end_date": "2026-11-20",
    "days": 5,
    "status": "denied",
    "note_sent": "Two people are already off that week. Could you move it by a week?"
  },
  "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.