Get departments
get_departmentsRetrieves departments under a parent account ID, defaulting to the configured parent account or auto-detected own account when no ID is provided.
Instructions
GetDepartments — departments under parentAccountId.
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": "get_departments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parentAccountId | No | Parent Account ID. Optional: defaults to ALSO_CLOUD_PARENT_ACCOUNT_ID or the auto-detected own account (see get_my_account). |