list_departments
list_departmentsRetrieve the organizational tree structure of departments, optionally filtered by name. Returns nested hierarchy with details like code, manager, and sub-departments.
Instructions
【📊 查询】获取部门树状组织结构。
参数:
keyword: 部门名称关键词(可选)
返回: 部门树结构,含名称、编码、负责人、电话、子部门
提示: 最多返回 2000 条。返回为嵌套树结构。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | No | 按部门名称搜索 |