Modulify

List the people in a workspace

list_workspace_members

Lists the members of a workspace and its pending invitations, with each person's name, email, role and when they joined.

Every member tool takes a memberId from here, and an invitation carries an inviteId instead, both being the row's _id. A pending invitation shows the Status pending and the name Invited User.

Search by name or email with term, narrow the list with role, and page with offset and limit. The answer states the total, so you can tell when you have every row. See Members and roles.

Inputs

Input Type Required Description
workspaceId string Yes The workspace id, from list_workspaces.
term string No Matches part of a name or an email address.
role string No Keeps one group: pending for invitations, accepted for everyone who has joined, owner, member, or a custom role's id.
sort string No newest puts the most recently added first. Anything else, or leaving it out, puts the oldest first.
offset integer No How many to skip, for paging.
limit integer No How many to return. Defaults to 8 and is capped at 120.