list_users
Retrieve normalized user accounts from Keycloak or Authentik realms, with optional username/email search, result limits, and target IdP selection. Check truncation to know if more users exist.
Instructions
[READ] Users in the realm, normalized across Keycloak/authentik.
Args: search: Optional username/email search string. max_results: Page bound (default 200). target: IdP target name from config; omit for the default.
Returns {"users": [...], "returned": N, "limit": L, "truncated": bool}. truncated is measured (one extra user is fetched); when true, more users exist — re-run with a higher max_results before drawing a realm-wide conclusion. Fields the IdP did not return are null, never "".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | ||
| target | No | ||
| max_results | No |