获取部门信息
get_departmentFetch department details by ID to view managers, email, user count, and hierarchy flags; pass $root to retrieve the organization root department.
Instructions
根据部门 ID 获取部门信息;id 传 $root 返回组织根部门。
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": {
"id": "<id>"
},
"name": "get_department"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 部门 ID;使用 $root 表示组织根部门 | |
| select | No | 透传 $select,如 hasUsers,hasSubDepartments,userCount,managers,email,isHidden,canManage |