pm_list_workspace_members
List members of the current workspace. Workspace is taken from the MCP config — no need to pass it. RESPONSE IS A PAGINATED ENVELOPE, NOT AN ARRAY: {users: WorkspaceUserDTO[], totalCount, page, size, totalPages} — read members from users (treating the response itself as a list fails). FOOTGUN: size DEFAULTS TO 20 when omitted, so a single call silently returns only the first 20 members and no error — don't assume it's the full roster. To enumerate everyone, page (page is 0-based) until you have collected totalCount. size is capped at 100 and a value >100 is a 400, not clamped. Use search (case-insensitive substring on first/last name or email, applied before paging) to find a specific member instead of paging blindly. Side effect: updates the caller's last-active timestamp. API-key scope: workspaces:read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 0-based page number | |
| size | No | Page size, 1–100. DEFAULTS TO 20 if omitted (silent truncation); >100 returns 400. | |
| search | No | Case-insensitive substring on first name / last name / email; applied before paging, so totalCount reflects matches. | |
| account | No | Multi-account auth only: name of the account from X-Dutify-Accounts to use for this call. Ignored in single-account mode (X-API-Key header). When multiple accounts are configured and this is omitted, the call fails with ACCOUNT_REQUIRED listing the available names. list_accounts never requires a selection. | |
| workspace | No | Workspace identifier or exact name for this call. Overrides the configured workspace. For personal keys, discover candidates with list_workspaces and select explicitly. Does not change other calls or expand a workspace key's access. | |
| sortColumn | No | ||
| sortDirection | No | 'asc' or 'desc' |