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

Документы · Источники

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

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

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

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

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

Page records from one fixed native business source for document bindings. The connected company, relevant OAuth permissions and native role are rechecked.

Параметры запроса
source
Native source value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты sql:accounts, sql:baners, sql:category_ingredients, sql:category_products, sql:category_transactions, sql:company, sql:Device, sql:discounts, sql:emplyy_time, sql:Equipment, sql:EquipmentLog, sql:establishments, sql:feedback, sql:group_client, sql:payment_methods, sql:privacypolicy, sql:production_areas, sql:productoffer, sql:products, sql:set_options, sql:smens, sql:storage, sql:supplies, sql:taxes, sql:transactions, sql:write_off_reasons, sql:write_offs, sql:Zone, fs:Orders, fs:Leads, fs:Task, fs:Schedule, fs:Users, fs:pipeline, fs:records, fs:customers
after
Native after value; use the value and type returned by the corresponding service. необязательно · string
limit
Максимальное число элементов на этой странице. необязательно · integer · минимум 1 · максимум 20
Что вернёт команда
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_sources
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "enum": [
        "sql:accounts",
        "sql:baners",
        "sql:category_ingredients",
        "sql:category_products",
        "sql:category_transactions",
        "sql:company",
        "sql:Device",
        "sql:discounts",
        "sql:emplyy_time",
        "sql:Equipment",
        "sql:EquipmentLog",
        "sql:establishments",
        "sql:feedback",
        "sql:group_client",
        "sql:payment_methods",
        "sql:privacypolicy",
        "sql:production_areas",
        "sql:productoffer",
        "sql:products",
        "sql:set_options",
        "sql:smens",
        "sql:storage",
        "sql:supplies",
        "sql:taxes",
        "sql:transactions",
        "sql:write_off_reasons",
        "sql:write_offs",
        "sql:Zone",
        "fs:Orders",
        "fs:Leads",
        "fs:Task",
        "fs:Schedule",
        "fs:Users",
        "fs:pipeline",
        "fs:records",
        "fs:customers"
      ],
      "description": "Native source value; use the value and type returned by the corresponding service."
    },
    "after": {
      "description": "Native after value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "limit": {
      "description": "Native limit value; use the value and type returned by the corresponding service.",
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    }
  },
  "required": [
    "source"
  ],
  "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"
          }
        }
      ]
    }
  }
}