MCP Control
Склад · Чтение

Склад · Склады · Операция · Просмотр

inventory_storage_operation_get
Посылки на упаковочном столе

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

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

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

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

Read the durable result of the original storage action in this company/user/MCP connection. Never resumes SQL effects. pending or not_found does not authorize resending with a new requestId.

Параметры запроса
operation
Выберите вариант операции из контракта. обязательно по схеме · string · варианты inventory_stock_receipt, inventory_stock_writeoff, inventory_stock_return, inventory_stock_count, inventory_stock_production, inventory_transfer_create, inventory_transfer_dispatch, inventory_transfer_receive, inventory_transfer_cancel, inventory_supply_request_create, inventory_supply_request_approve, inventory_supply_request_receive, inventory_supply_request_cancel
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · 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
Поля и технические схемы
Входные поля и поля ответа inventory_storage_operation_get
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "operation": {
      "type": "string",
      "enum": [
        "inventory_stock_receipt",
        "inventory_stock_writeoff",
        "inventory_stock_return",
        "inventory_stock_count",
        "inventory_stock_production",
        "inventory_transfer_create",
        "inventory_transfer_dispatch",
        "inventory_transfer_receive",
        "inventory_transfer_cancel",
        "inventory_supply_request_create",
        "inventory_supply_request_approve",
        "inventory_supply_request_receive",
        "inventory_supply_request_cancel"
      ],
      "description": "Native operation value; use the value and type returned by the corresponding service."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
    }
  },
  "required": [
    "operation",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "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"
          }
        }
      ]
    }
  }
}