List Workspace Permissions
list_workspace_permissionsRetrieve user roles and permissions assigned to your Bitbucket workspace, with optional pagination for handling large teams.
Instructions
List the user permissions (roles) of a workspace.
Requires the account scope.
Args: workspace: Workspace name (optional, defaults to configured workspace) page_size: Items per page (default: 30) max_pages: Maximum pages to fetch (default: 1, max recommended: 10)
Returns: Paginated list of workspace permissions (permission + user)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_workspace_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_pages | No | ||
| page_size | No | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |