list_organization_departments
Retrieve department structures within an organization to manage teams and access permissions in Alibaba Cloud DevOps workflows.
Instructions
Get the list of departments in an organization
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": {
"organizationId": "<organizationId>"
},
"name": "list_organization_departments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organizationId | Yes | Organization ID | |
| parentId | No | Parent department ID |