hr.search_employees
Search employees by name, department, or role to retrieve contact info and optionally sensitive fields like salary and SSN.
Instructions
Search the employee directory by name, department, or role. Returns employee details including contact info. Set include_sensitive=true to include salary, SSN, and bank details.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hr.search_employees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query (name, email, or role) | |
| department | No | Filter by department | |
| include_sensitive | No | Include sensitive fields (salary, SSN, bank info). Default: true |