get_organization_tree
Retrieve the organization hierarchy for a specific date, with optional root department and inclusion of ineffective departments.
Instructions
Get the organization hierarchy as of a specific date.
KNOWN ISSUE: The /ClientOut/ReportCenter/OrgData route returns 404 on
the PRE Foundation backend. The tool is kept for when MAYO deploys
the Report Center endpoints to this environment.
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": {
"query_date": "<query_date>"
},
"name": "get_organization_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dept_code | No | Root department code to query from | |
| query_date | Yes | Snapshot date in `YYYY-MM-DD` format | |
| include_ineffective | No | Include departments that are not effective on the snapshot date |