search_workspace_users
Search BitBucket workspace users by name or nickname to add pull request reviewers, mention users in comments, or find account IDs.
Instructions
Search for users in a BitBucket workspace by name.
Use this tool to find users by their name or nickname. It first checks the memory cache for previously found users, then searches BitBucket if needed. Found users are automatically cached for future lookups.
This is useful when:
Adding reviewers to a pull request
Mentioning users in comments (@username)
Finding user account IDs for API operations
Args: query: User name or nickname to search for (partial match supported). workspace: Workspace slug. If not provided, uses the default workspace. check_memory_first: If True, checks memory cache before searching BitBucket.
Returns: JSON object with matching users. If multiple matches found, returns all so the caller can ask the user to choose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| workspace | No | ||
| check_memory_first | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |