pipeshub_directory
Look up people, groups, and teams in an organization. Use actions to identify yourself, list and search users, fetch user profiles, list groups, and view your teams.
Instructions
Look up people, groups, and teams in PipesHub. Five actions — pick
action. Not for documents or files: that is pipeshub_search.
whoami— the caller's id, email, full name. Use beforeget_useron yourself. Errors if the credential is expired or revoked.list_users— page org users;searchmatches name or email.get_user— fullUserfor oneuserId.list_groups— org groups withuserCount;searchmatches name.list_my_teams— teams the caller is on, withcanEdit/canDelete/canManageMembers;searchmatches name.
Omit page/limit for the first page (page 1). No match is an
empty users/groups/teams array, not an error.
pagination.hasNextPage (teams: hasNext) says whether to request
the next page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page for list_* actions. Omit for page 1. | |
| limit | No | Items per page for list_* (1–100). Omit for the action default: 50 users, 25 groups, 100 teams. | |
| action | Yes | What to do: - `whoami` — return the authenticated user's identity, confirmed against the server. No other args needed. - `list_users` — paginated list of org users. Optional `page`, `limit`, `search` (substring match against name or email). - `get_user` — full profile for one user. Required `userId`. Use `whoami` to find your own id first if needed. - `list_groups` — paginated list of user groups (with `userCount`). Optional `search` matches group name. - `list_my_teams` — teams the authenticated user belongs to, with capability flags. Optional `search` matches team name. | |
| search | No | Substring match on list_users (name or email), list_groups (name), and list_my_teams (name). An empty list means no match, not an error. | |
| userId | No | Required when `action` is `get_user`. 24-character ObjectId. Take it from `whoami` (yourself) or from a `list_users` hit. |