list_users
Fetch users from Keycloak/authentik in a unified format. Supports username/email search and pagination, with a truncated flag indicating 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 |