List groups
Groups of the portal with name, description and number of users.
MCP tool learnupon_read → list_groups
read
Returns the groups you can see: admins see all of them, a manager sees only the groups assigned to them. Use group_id as the group parameter of the other tools. users is the count LearnUpon shows on the group page.
Parameters
| Name | Type | Description |
|---|---|---|
| query string | string | Part of the group name. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "learnupon_read",
"arguments": {
"operation": "list_groups",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"groups": [
{
"group_id": "4821",
"name": "Onboarding",
"description": "New hires, first 90 days",
"users": 10
},
{
"group_id": "4830",
"name": "Warehouse",
"description": "Warehouse team",
"users": 48
}
]
},
"isError": false
}