查询用户列表
list_usersQuery organization users by LDAP-style filters and cursor pagination to find accounts by email, name, department, status, or role. Use nextCursor for more results, up to 100 per page.
Instructions
按 filter 表达式查询组织内用户,游标分页(单页最多 100)。 filter 支持字段:email、name、nickname、employeeNo、status、domain、employeeType、delegateType、departmentId、jobTitle、workLocation、homeLocation、info、managerId、isSharedWithOthers。 示例:(departmentId=xxx) 直属成员;(departmentId=xxx*) 含子部门;(|(name=Jack)(email=jack));(&(employeeType=SERVICE)(email=abc));(&(departmentId=xxx)(!(status=FREEZE)))。 返回 hasMore=true 时用 nextCursor 继续翻页。
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_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 每页数量,最大 100 | |
| order | No | ASC 升序 / DES 降序 | |
| cursor | No | 上一页返回的 nextCursor | |
| filter | No | LDAP 风格过滤表达式 | |
| select | No | 透传 $select,指定额外返回字段,多个用英文逗号分隔,如 phone,managerEmail,isHidden | |
| managed | No | 仅返回当前身份可管理的用户 | |
| orderby | No |