批量获取部门信息
get_departments_by_idsBatch retrieves department information for up to 100 department IDs; IDs that do not exist are omitted from the results.
Instructions
根据部门 ID 列表批量获取部门信息(最多 100 个),不存在的 ID 不返回。
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": {
"ids": "<ids>"
},
"name": "get_departments_by_ids"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| select | No | 透传 $select,如 hasUsers,hasSubDepartments,userCount,managers,email,isHidden,canManage |