List departments

Departments of the account with their parent department.

MCP tool ispring_read → list_departments

read

Returns the department tree of the Users section. Every user belongs to exactly one department. Department Administrators see only the departments they manage and their sub-departments. Use department_id in list_users and add_users_by_email.

Parameters

Parameters: list_departments
NameTypeDescription
query string string Part of the department name.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ispring_read",
    "arguments": {
      "operation": "list_departments",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "departments": [
      {
        "department_id": "d_10",
        "name": "Sales",
        "parent": "Company"
      },
      {
        "department_id": "d_11",
        "name": "Support",
        "parent": "Company"
      }
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.