get_department
Fetch a department by ID to view its name, parent, external ID, and direct child departments. Use list_departments first to find the department ID.
Instructions
Get a department by ID. Read-only.
Returns name, parent_id, external_id, and child_ids (direct child
departments). To find department_id: list_departments → match by name.
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": {
"department_id": "<department_id>"
},
"name": "get_department"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| department_id | Yes | Department ID — get from list_departments |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |