Verifies the HrAgent picks the correct Workday tool per request — Generated 2026-05-30 18:36:48
{}Pending inbox tasks → getPendingInboxTasks
{}Employment verification letter → generateEmploymentVerificationLetter
{}{}Leave balance → getLeaveBalance
{}Leave history/status → getAppliedLeaves
{}Leave types available → getEligibleLeaveTypes
{}{"leaveType":"Annual Leave","startDate":"2026-06-01"}Apply for leave → applyForLeave (deferred)
{}Contact details → getPersonInfo
{}Profile info → getPersonInfo
{}Employee ID → getPersonInfo
{"requestedChanges":"[{\"contactType\":\"email\",\"operation\":\"update\",\"entryId\":null,\"fields\":{\"emailAddress\":\"john.doe@example.com\"},\"primary\":true}]","changeId":""}{"changeId":"change-123","contactTypes":"email"}Specific home email update → initContactChange (then showContactForm)
{"requestedChanges":"[{\"contactType\":\"phone\",\"operation\":\"add\",\"entryId\":null,\"fields\":{\"completePhoneNumber\":\"+45 71539651\"},\"primary\":false}]","changeId":""}{"changeId":"change-123","contactTypes":"phone"}Specific home phone add → initContactChange
{"requestedChanges":"[]","changeId":""}{"changeId":"change-123","contactTypes":""}Generic contact update → initContactChange with empty changes
{"organizationType":"Company"}Company membership → getWorkerOrganizations
{"organizationType":"Cost Center"}Cost center → getWorkerOrganizations
{}Open help cases → getHelpCases
{"caseId":"CASE503248"}Specific case → getHelpCases
{}Direct reports → getDirectReports
{}Team upcoming leaves → getTeamUpcomingLeaves
{"question":"travel and expense policy","location":null}HR policy question → searchHrKnowledge
No tool calls
Name is NOT updatable via AskMyHR → must NOT call any contact-update tool
No tool calls
Work email is NOT updatable → must NOT call any contact-update tool
No tool calls
Web addresses are out of scope → must NOT call any contact-update tool
No tool calls
Date of birth is NOT updatable → must NOT call any contact-update tool
No tool calls
Simple greeting → must NOT call any tool
No tool calls
Third-party compensation → must NOT call Workday or knowledge tools
No tool calls
Job title is NOT updatable via AskMyHR
No tool calls
Emergency contacts are out of scope
No tool calls
Nationality / personal info is NOT updatable via contact tools
No tool calls
Sensitive termination request → must NOT call destructive/HR action tools
{}Non-manager (manager=false) → may call getDirectReports (tool handles isManager internally), must NOT call getTeamUpcomingLeaves
{"question": "vacation leave policy", "location": ""}{}Leave balance query → must NOT open leave application or contact update
{}Inbox query → must NOT call leave tools
{}{"question":"travel and expense policy","location":""}Policy question → knowledge only, not leave APIs
{}Read-only contact view → getPersonInfo only, no update tools
{"question":"resignation process","location":"Denmark"}Resignation / exit process → knowledge, NOT leave application or contact update