list_departments
List all departments in the organization to retrieve department IDs and hierarchy. Filter by parent department and paginate results for efficient HR data retrieval.
Instructions
List all departments in the organization.
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": "list_departments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results per page | |
| offset | No | Pagination offset | |
| parent_id | No | Filter by parent department ID |