List employees
Team members of a location with their IDs.
MCP tool deputy_read → list_employees
read
Returns team members of one location, or of all your locations when location_id is omitted, with the employee_id other tools take. Terminated employees are left out.
Parameters
| Name | Type | Description |
|---|---|---|
| location_id integer | integer | Location ID from list_locations. Default: all your locations. |
| search string | string | Part of the name to match. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "deputy_read",
"arguments": {
"operation": "list_employees",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"employees": [
{
"employee_id": 3,
"name": "Ana Lopez",
"location_id": 1
},
{
"employee_id": 4,
"name": "Tom Becker",
"location_id": 1
}
]
},
"isError": false
}