delete_employee
Remove an employee record from the system by specifying their unique ID. This tool permanently deletes employee data from the database.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- main.py:73-77 (handler)Handler function for the 'delete_employee' tool. It is registered via @mcp.tool() decorator and implements the logic to delete an employee by ID using a DELETE HTTP request to the API endpoint via the shared make_request helper.@mcp.tool() async def delete_employee(id: int) -> dict: url = f"{URL_BASE}/employees/{id}" response = await make_request(url, "DELETE") return response