add_employee
Add a new employee to the HRMS by providing name and email, with an optional manager ID, and get confirmation containing the new employee ID.
Instructions
Add a new employee to the HRMS system.
:param emp_name: Full name of the new employee
:param email: Email address of the new employee
:param manager_id: Employee ID of the manager, e.g. "E003" (optional; use get_employee_details to find it)
:return: Confirmation message that includes the new employee ID
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"emp_name": "<emp_name>",
"email": "<email>"
},
"name": "add_employee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| emp_name | Yes | ||
| manager_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |