gitlab_search_user
Search for GitLab users using partial details like name, email, or username. Retrieve user IDs, profiles, and activity status for team assignments or user management. Supports pagination for large result sets.
Instructions
Search for GitLab users based on partial information or search criteria.
This tool is useful when you don't have the exact username or ID, but need to find users based on name, email, or other search terms. Use this tool when you need to find users based on partial information or search queries.
Examples:
- Find users by partial name: search_user("John Sm")
- Search by email domain: search_user("@company.com")
- Find users for team assignments
Returns user information including:
- Basic details: ID, username, name, avatar
- Public profile information
- Activity status
For getting specific user details when you have exact ID/username, use 'gitlab_get_user' instead.
Parameters:
- search: Search query (name, username, or email fragment)
- per_page: Number of results per page (default: 20)
- page: Page number for pagination (default: 1)
Example: Find users named "John"
Input Schema
Name | Required | Description | Default |
---|---|---|---|
page | No | Page number for pagination Type: integer Range: ≥1 Default: 1 Example: 3 (to get the third page of results) Note: Use with per_page to navigate large result sets | |
per_page | No | Number of results per page Type: integer Range: 1-100 Default: 20 Example: 50 (for faster browsing) Tip: Use smaller values (10-20) for detailed operations, larger (50-100) for listing | |
search | Yes | Search query (name, username, or email fragment) |