MCP Control
Документы · Чтение

Документы · Защищённый ввод · Настройка

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

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

Получить данные
  1. Вы указываетеДокумент
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Документы / Защищённый ввод / Настройка» выполни чтение по выбранной записи (документ). Выведи кратко: companyId, результат.
Что искать в ответе
companyId
Поле ответа
result
Результат
Задать параметры
  1. Вы указываетеДокумент
  2. ПомощникСверка выбора
  3. Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Документы / Защищённый ввод / Настройка» на учебном примере с purpose = sender_sign. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
purpose
sender_sign
documentId
DEMO-101
printerId
DEMO-101
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Документы / Защищённый ввод / Настройка» объясни companyId, результат. Отметь отсутствующие значения.
Поля для проверки
companyId
Поле ответа
result
Результат
Как работает действие

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

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

Return the authorized native UI for personal signing, signing photos/uploads, password entry, local system printing or printer credentials. This does not sign, consent, change a password or print.

Параметры запроса
purpose
Native purpose value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты sender_sign, recipient_sign, access_password, printer_credentials, recipient_uploads, local_print
documentId
Native documentId value; use the value and type returned by the corresponding service. необязательно · string
printerId
Native printerId value; use the value and type returned by the corresponding service. необязательно · string
recipientId
Native recipientId value; use the value and type returned by the corresponding service. необязательно · string
Что вернёт команда
companyId
Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
result
Native result value; use the value and type returned by the corresponding service. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа documents_workspace_secure_setup
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "purpose": {
      "type": "string",
      "enum": [
        "sender_sign",
        "recipient_sign",
        "access_password",
        "printer_credentials",
        "recipient_uploads",
        "local_print"
      ],
      "description": "Native purpose value; use the value and type returned by the corresponding service."
    },
    "documentId": {
      "description": "Native documentId value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "printerId": {
      "description": "Native printerId value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "recipientId": {
      "description": "Native recipientId value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    }
  },
  "required": [
    "purpose"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "description": "Native companyId value; use the value and type returned by the corresponding service."
    },
    "result": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      },
      "description": "Native result value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "companyId",
    "result"
  ],
  "additionalProperties": false,
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  }
}