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

Parameters: list_groups
NameTypeDescription
query string string Part of the group name.

tools/call

JSON-RPC

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

Example response

JSON

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

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.