List agents and groups

List the agents and groups a record can be assigned to.

MCP tool sysaid_read → list_agents_and_groups

read

Returns each agent or group with its ID and name, and for groups the agents inside. Which of them can take a record depends on how assignees are configured for your account: a user, a group, or both.

Parameters

Parameters: list_agents_and_groups
NameTypeDescription
kind string string agent or group. Both when left out.
query string string Part of a name to search for.

tools/call

JSON-RPC

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

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "groups": [
      {
        "id": "g332",
        "name": "IT Support",
        "members": [
          "Jordan Reyes",
          "Priya Nair"
        ]
      },
      {
        "id": "g341",
        "name": "Network",
        "members": [
          "Marcus Hill"
        ]
      }
    ],
    "agents": [
      {
        "id": "u2342",
        "name": "Jordan Reyes"
      },
      {
        "id": "u2351",
        "name": "Priya Nair"
      },
      {
        "id": "u2360",
        "name": "Marcus Hill"
      }
    ]
  },
  "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.