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

Parameters: list_employees
NameTypeDescription
location_id integer integer Location ID from list_locations. Default: all your locations.
search string string Part of the name to match.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "deputy_read",
    "arguments": {
      "operation": "list_employees",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.