Built LMS Help Center
MCP ServerTool Reference

List Roles

List Roles MCP tool.

List Roles

List roles. A role id is the role_id for a new user.

Contract

FieldValue
Tool namelist_roles
Domainusers
Required scopespeople:read
TitleList roles
Read only hinttrue
Destructive hintfalse
Idempotent hintfalse
Open world hintfalse
Bulk limitnone
Timeout15000ms
Kill switch keyusers.roles.list
REST siblingGET /api/public/v1/roles

Input Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Output Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "content": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "const": "text"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}

On this page