MCP Control
Компания и доступ · Чтение

Доступ · Просмотр · Возможности

access_get_capabilities
Папки документов

Попробуйте три запроса

Получить данные
  1. Вы указываетеОбъект
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Доступ / Просмотр / Возможности» выполни чтение в текущей компании. Выведи кратко: companyId, ceiling.
Что искать в ответе
companyId
Поле ответа
ceiling
Поле ответа
tools
Поле ответа
Следующая страница
  1. Вы указываетеПредыдущий ответ
  2. ПомощникПродолжение
  3. Вы получаетеСледующая страница
Запрос в чат
Продолжи «Доступ / Просмотр / Возможности» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Как листать выдачу
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Доступ / Просмотр / Возможности» объясни companyId, ceiling. Отметь отсутствующие значения.
Поля для проверки
companyId
Поле ответа
ceiling
Поле ответа
tools
Поле ответа
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании. При постраничном чтении используйте продолжение ответа с теми же фильтрами.

Описание разработчика

Read the complete effective administrative ceiling and a bounded page of permitted tools. Follow nextCursor until null. Only current employee grants intersected with OAuth scopes are returned; catalog or authority changes invalidate continuation. This does not expand access.

Параметры запроса
cursor
Продолжение из предыдущего ответа при тех же фильтрах. необязательно · string · до символов 1000
limit
Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 100 · минимум 1 · максимум 200
Что вернёт команда
companyId
Company resolved from the authenticated connection. обязательно по схеме · string · до символов 128
ceiling
Complete effective administrative ceiling; not the unrestricted account grant. обязательно по схеме · object
tools
Current page of tools permitted by every effective module, integration and permission check. обязательно по схеме · array · до элементов 200
totalTools
Total permitted tool names at this catalog and access version. обязательно по схеме · integer · минимум -9007199254740991 · максимум 9007199254740991
nextCursor
Курсор для получения следующей страницы. обязательно по схеме · string / null
Поля и технические схемы
Входные поля и поля ответа access_get_capabilities
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "cursor": {
      "description": "Opaque nextCursor from the same catalog and effective access. Restart if either changes.",
      "type": "string",
      "maxLength": 1000
    },
    "limit": {
      "default": 100,
      "description": "Maximum complete tool names per page; the byte limit may shorten a page.",
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "required": [
    "limit"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "$ref": "#/$defs/_mcp0"
    },
    "ceiling": {
      "type": "object",
      "properties": {
        "positionId": {
          "description": "positionId",
          "anyOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "pattern": "^[A-Za-z0-9_~:@+.-]+$"
            },
            {
              "type": "null"
            }
          ]
        },
        "uid": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "^[A-Za-z0-9_~:@+.-]+$",
          "description": "Exact Firebase account UID; must have protected membership in the connected company."
        },
        "employeeId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "^[A-Za-z0-9_~:@+.-]+$",
          "description": "Existing native employee UID or protected alias."
        },
        "active": {
          "type": "boolean",
          "description": "Whether the protected assignment is enabled."
        },
        "permissions": {
          "maxItems": 512,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100,
            "pattern": "^[A-Za-z0-9_.:-]+$"
          },
          "description": "Complete replacement permission ceiling; may not exceed current administrator and OAuth scopes."
        },
        "locationIds": {
          "maxItems": 200,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9_~:@+.-]+$"
          },
          "description": "Exact native locations within the current administrative ceiling."
        },
        "allLocations": {
          "type": "boolean",
          "description": "Whether all company locations are allowed; cannot exceed the caller ceiling."
        },
        "modules": {
          "maxItems": 80,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9_~:@+.-]+$"
          },
          "description": "Complete replacement enabled modules within the caller ceiling."
        },
        "integrations": {
          "maxItems": 80,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9_~:@+.-]+$"
          },
          "description": "Complete replacement enabled integrations within the caller ceiling."
        },
        "allowedClientIds": {
          "default": null,
          "description": "Registered OAuth client allowlist; null means unrestricted within the administrator ceiling.",
          "anyOf": [
            {
              "maxItems": 200,
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2048,
                "pattern": "^[^\\s\\x00-\\x1f\\x7f]+$"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "companyId": {
          "$ref": "#/$defs/_mcp0"
        },
        "version": {
          "default": 0,
          "description": "Current optimistic concurrency version.",
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "revocationVersion": {
          "default": 0,
          "description": "Monotonic revocation epoch; revoked tokens cannot revive.",
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "uid",
        "employeeId",
        "active",
        "permissions",
        "locationIds",
        "allLocations",
        "modules",
        "integrations",
        "allowedClientIds",
        "companyId",
        "version",
        "revocationVersion"
      ],
      "additionalProperties": false,
      "description": "Complete effective administrative ceiling; not the unrestricted account grant."
    },
    "tools": {
      "maxItems": 200,
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Current page of tools permitted by every effective module, integration and permission check."
    },
    "totalTools": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Total permitted tool names at this catalog and access version."
    },
    "nextCursor": {
      "description": "Continue until null to obtain the complete catalog. No permissions are omitted from ceiling.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "companyId",
    "ceiling",
    "tools",
    "totalTools",
    "nextCursor"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Company resolved from the authenticated connection."
    }
  }
}