MCP Control
Печать · Чтение

Печать · Результат операции «операция»

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

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

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

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

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

Read the durable result of the exact original print request with current printer, document and linked-resource authorization. Consumed/deleted native queue jobs remain recoverable. No formatter or printing is invoked. unknown_legacy means an old pending operation lacks proof and must not be requeued.

Параметры запроса
original
Exact original printing_queue_document arguments, including its requestId. Never use a new original requestId to retry printing. обязательно по схеме · object
Что вернёт команда
status
Immutable queue acceptance state. pending may safely resume the current atomic protocol; unknown_legacy cannot be requeued because an old consumed job may lack durable evidence. обязательно по схеме · string · варианты not_recorded, pending, committed, unknown_legacy
result
Original queue acceptance only when committed. Physical device completion is not inferred. обязательно по схеме · object / null
Поля и технические схемы
Входные поля и поля ответа printing_get_operation_result
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "original": {
      "type": "object",
      "properties": {
        "documentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "^[A-Za-z0-9_~:@+.-]+$",
          "description": "Canonical company Documents template, order-document or task-document identifier."
        },
        "orderId": {
          "description": "Canonical order ID for filling a reusable template. For an order-linked document this must equal its existing order association.",
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "^[A-Za-z0-9_~:@+.-]+$"
        },
        "printerId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "^[A-Za-z0-9_~:@+.-]+$",
          "description": "Canonical enabled printer ID returned by printing_list_printers."
        },
        "language": {
          "default": "en",
          "description": "Language used by the existing formatter.",
          "type": "string",
          "minLength": 2,
          "maxLength": 20
        },
        "requestId": {
          "type": "string",
          "minLength": 8,
          "maxLength": 128,
          "pattern": "^[A-Za-z0-9_-]+$",
          "description": "Unique ID for this exact one-copy print request; preserve it and all arguments for retries."
        }
      },
      "required": [
        "documentId",
        "printerId",
        "language",
        "requestId"
      ],
      "additionalProperties": false,
      "description": "Exact original printing_queue_document arguments, including its requestId. Never use a new original requestId to retry printing."
    }
  },
  "required": [
    "original"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "not_recorded",
        "pending",
        "committed",
        "unknown_legacy"
      ],
      "description": "Immutable queue acceptance state. pending may safely resume the current atomic protocol; unknown_legacy cannot be requeued because an old consumed job may lack durable evidence."
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "jobId": {
              "type": "string",
              "description": "Canonical Companies/{company}/print job identifier."
            },
            "printerId": {
              "type": "string",
              "description": "Selected canonical printer identifier."
            },
            "status": {
              "type": "string",
              "const": "queued",
              "description": "The native queue accepted this request; this does not confirm physical printing."
            }
          },
          "required": [
            "jobId",
            "printerId",
            "status"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Original queue acceptance only when committed. Physical device completion is not inferred."
    }
  },
  "required": [
    "status",
    "result"
  ],
  "additionalProperties": false
}