get_org_chart
Retrieve the organizational chart for any employee, displaying the management chain upward and direct reports downward to clarify reporting relationships.
Instructions
Get the organizational chart centered on a specific employee.
Navigates upward through managerId to show the management chain, and downward to show direct reports. Uses EmpJob for manager relationships and User for names/titles.
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": {
"user_id": "<user_id>"
},
"name": "get_org_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The userId to center the org chart on | |
| depth_up | No | Levels of managers above (0-5) | |
| depth_down | No | Levels of direct reports below (0-3) | |
| data_center | No | ||
| auth_user_id | No | ||
| auth_password | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||