MCP Control
Обзор  ›  CRM
CRM · Чтение

CRM · Чаты · Контекст

crm_workspace_chat_context
Контактные карточки и телефон

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

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

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

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

Read selected chat summary, contacts, routes, messaging window, AI settings, quoted message or stored transcription as hashed JSON chunks. Hash changes reject stale chunk assembly.

Параметры запроса
offset
Смещение из предыдущей страницы или начальное значение из схемы. обязательно по схеме · integer · по умолчанию 0 · минимум 0 · максимум 3000000
limit
Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 10000 · минимум 1 · максимум 10000
expectedHash
Контрольное значение из предыдущего чтения. необязательно · string
conversationId
Native conversationId value; use the value and type returned by the corresponding service. обязательно по схеме · string
part
Native part value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты summary, contact, routes, delivery_window, settings, reply_context, transcription
messageId
Native messageId value; use the value and type returned by the corresponding service. необязательно · string
integrationId
Native integrationId 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
Поля и технические схемы
Входные поля и поля ответа crm_workspace_chat_context
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "offset": {
      "default": 0,
      "description": "Native offset value; use the value and type returned by the corresponding service.",
      "type": "integer",
      "minimum": 0,
      "maximum": 3000000
    },
    "limit": {
      "default": 10000,
      "description": "Native limit value; use the value and type returned by the corresponding service.",
      "type": "integer",
      "minimum": 1,
      "maximum": 10000
    },
    "expectedHash": {
      "description": "Native expectedHash value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "conversationId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native conversationId value; use the value and type returned by the corresponding service."
    },
    "part": {
      "type": "string",
      "enum": [
        "summary",
        "contact",
        "routes",
        "delivery_window",
        "settings",
        "reply_context",
        "transcription"
      ],
      "description": "Native part value; use the value and type returned by the corresponding service."
    },
    "messageId": {
      "description": "Native messageId value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "integrationId": {
      "description": "Native integrationId value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    }
  },
  "required": [
    "offset",
    "limit",
    "conversationId",
    "part"
  ],
  "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"
          }
        }
      ]
    }
  }
}