get_org_chart
Retrieve organizational hierarchy showing reporting relationships. Start from a department, manager, or company to get the structure and direct/indirect reports.
Instructions
Get organizational hierarchy showing reporting relationships.
You can start from:
- A specific department (all employees in that dept with their managers)
- A specific manager (all direct and indirect reports)
- A company (top-level org structure)
:param department_id: Starting department ID
:param manager_id: Starting manager's employee ID
:param company: Company code to filter by
:param max_depth: Maximum depth of hierarchy to retrieve (default 3)
:return: Hierarchical organization structure
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | No | ||
| max_depth | No | ||
| manager_id | No | ||
| department_id | No |