list_departments
Retrieve department structures from DingTalk's organizational hierarchy to manage team access and permissions within the wiki workspace.
Instructions
列出钉钉组织架构中的部门列表
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 |
|---|---|---|---|
| fetch_child | No | 是否递归获取子部门 |