get_organization_department_ancestors
Retrieve the full chain of parent departments for a given department in an organization to clarify its reporting structure and position in the hierarchy.
Instructions
Get the ancestors of a department 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>",
"id": "<id>"
},
"name": "get_organization_department_ancestors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Department ID | |
| organizationId | Yes | Organization ID |