List accounts
list_usersLists user accounts for admins, pending first then newest, with status, role, verification, abuse flags, plan and usage. Filter by name, email, status, flags or sign-up IP; sort, paginate or group by flag or shared IP.
Instructions
Admins only: accounts, pending first then newest, with status, role, emailVerified, abuse flags, plan, last active and all-time usage. Filter with q (name or email), status, verified, flagged, flag (one reason), signupIp or sharedIp; sort and dir order every match. Returns { items, nextCursor, total }; pass nextCursor (same filter and sort) for more. groupBy returns sections instead: flag = one per reason then the unflagged; ip = one per shared sign-up address. Hosted non-admins are refused.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Name or email words, typo-tolerant (every word must match) | |
| dir | No | asc or desc; default asc for name and status, desc for the rest. Only with sort | |
| flag | No | Only accounts flagged for this reason: shared_ip (3+ sign-ups from one address in 7 days), signup_burst (5+ in an hour), disposable_email (temporary-address domain) | |
| sort | No | Order every matching account by: name (name, else email), status, lastActive, created, or a usage number: projects, sourceMinutes, clipsRendered, storedBytes order by the row's usage.* field of that name (all time; usage.projects counts every project made, deleted ones too, unlike the top-level projects). Omitted = pending first, then newest (a search: best match first) | |
| group | No | Only the accounts in one section of list_users groupBy, on top of the other fields: by flag, key = shared_ip, signup_burst, disposable_email or none (not flagged). Each group list_users returns carries its own filter with this set | |
| limit | No | Page size (1-100, default 50) | |
| cursor | No | nextCursor from the previous page, with the same filter and sort (ignored with q and no sort: a search returns its best 100 in one page) | |
| heldBy | No | Only accounts a sign-up rule held for approval, by the rule as list_signup_rules shows it (kind and pattern: "ip 203.0.113.0/24"), whatever their status now | |
| status | No | pending = waiting for approval, active, suspended | |
| flagged | No | Only accounts the hourly abuse pass flagged, for any reason | |
| groupBy | No | Split the matching accounts into sections instead of one page: flag = one per abuse reason, then none (not flagged), and an account with two flags is in both; ip = one per sign-up address shared by more than one account (key = the address, most accounts first, up to 100; moreSections says how many were left out), then rest. Combine ip with flag shared_ip to see which accounts share which address. Returns { by, total, moreSections, groups: [{ key, label, help, total, filter, items, nextCursor }] }: limit accounts per section; pass a section's filter fields to list_users with its nextCursor for more, or its filter to manage_users to act on that section | |
| sharedIp | No | true = another account signed up from the same address; false = the only account from its address, or no address recorded (the rest section of groupBy ip) | |
| signupIp | No | Only accounts that signed up from exactly this address (203.0.113.7) | |
| verified | No | true = email address confirmed, false = not confirmed yet |