list_organization_departments
Retrieve the list of departments in an organization, optionally filtered by a parent department ID, to view the organizational hierarchy.
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 |