List units and sections

List the units and sections your account can reach, with their ids.

MCP tool quinyx_read → list_groups

read

Returns each group with its id, name, type and parent. Type is unit, section or a higher level, and the ids are what the other tools take as group_id. Shifts and absences can be added to units and sections only. The list follows the groups your roles reach in the group selector.

Parameters

Parameters: list_groups
NameTypeDescription
query string string Part of a unit or section name.

tools/call

JSON-RPC

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

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "groups": [
      {
        "group_id": "1042",
        "name": "Harbor Cafe",
        "type": "unit",
        "parent_id": "1001"
      },
      {
        "group_id": "1043",
        "name": "Harbor Cafe Kitchen",
        "type": "section",
        "parent_id": "1042"
      }
    ]
  },
  "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.