get_org_structure
Retrieve organizational hierarchy at specified levels (company, division, department, etc.) with optional employee headcount per unit.
Instructions
Get organizational structure at a specific level.
Queries Foundation Object entities (FOCompany, FODepartment, etc.) to show the organizational hierarchy. Can optionally include headcount per unit by cross-referencing with EmpJob.
Levels: company, division, department, business_unit, cost_center, location, job_code, pay_grade.
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": {
"level": "<level>"
},
"name": "get_org_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Organizational level to query: 'company', 'division', 'department', 'business_unit', 'cost_center', 'location', 'job_code', 'pay_grade' | |
| active_only | No | Only return active records | |
| data_center | No | ||
| parent_code | No | ||
| auth_user_id | No | ||
| auth_password | No | ||
| include_headcount | No | Include employee headcount per unit (requires additional API calls) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||