List Members
list_membersList the members of the workspace (the current one unless workspaceId names another). Returns { members } with userId, email, firstName, lastName, role (admin, editor, contributor or viewer in this workspace), organizationRoles (such as org-owner, org-admin or org-member) and joinedAt. Pass userId to remove_member or remove_organization_member. Needs the members.read permission, which every role holds. Takes only the optional workspaceId.
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_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | Workspace to act in: an id from list_workspaces. Omit to act in the workspace list_workspaces marks current. Use the same workspaceId for every call about the same workspace, since ids from one workspace (accounts, posts, uploads) do not exist in another |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | An object with members: one { userId, email, firstName, lastName, role, organizationRoles, joinedAt } per member of the workspace. |