list_organization_departments
Lists departments in an organization, optionally narrowed by parent department ID, to support DevOps org structure queries.
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 |
|---|---|---|---|
| parentId | No | Parent department ID | |
| organizationId | Yes | Organization ID |