List users
Users of the portal with name, email, user type and status; search by name or email, filter by group.
MCP tool learnupon_read → list_users
read
Returns users of the portal you are signed in to, a page at a time; pass next_cursor back as cursor for the next page. query matches a name or an email address. status pending returns invited people who have not accepted yet, and deletion_pending returns accounts in the 30 days after deletion; leave it out for active users. user_id is the id the other tools take.
Parameters
| Name | Type | Description |
|---|---|---|
| query string | string | Name or email address to search for. |
| group_id string | string | Only users in this group. |
| status enum | enum | pending or deletion_pending. Leave out for active users. |
| cursor string | string | Next page cursor from the previous call. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "learnupon_read",
"arguments": {
"operation": "list_users",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"users": [
{
"user_id": "51872",
"name": "Maria Nowak",
"email": "maria.nowak@example.com",
"user_type": "learner",
"login_enabled": true
},
{
"user_id": "51890",
"name": "Tom Reyes",
"email": "tom.reyes@example.com",
"user_type": "learner",
"login_enabled": true
}
],
"next_cursor": null
},
"isError": false
}