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
| Name | Type | Description |
|---|---|---|
| kind string | string | agent or group. Both when left out. |
| query string | string | Part of a name to search for. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "sysaid_read",
"arguments": {
"operation": "list_agents_and_groups",
"arguments": {}
}
}
} Example response
{
"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
}