get-users
Fetch workspace users by specific IDs, or search by name or email. Returns the full user list when no filters are provided.
Instructions
Get users from a workspace. Retrieves all workspace users by default, or specific users if userIds array is provided. Supports optional case-insensitive search filtering by name or email.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>"
},
"name": "get-users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userIds | No | Optional array of specific user IDs to fetch. If not provided or empty array, fetches all workspace users. | |
| searchText | No | Optional search text to filter users by name or email (case-insensitive). | |
| workspaceId | Yes | The workspace ID to get users from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| users | Yes | ||
| totalUsers | Yes | ||
| workspaceId | Yes | ||
| filteredUsers | Yes |