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 条。返回为嵌套树结构。
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_departments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | No | 按部门名称搜索 |