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
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_org_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | No | ||
| max_depth | No | ||
| manager_id | No | ||
| department_id | No |