MCP Control
Печать · Изменение

Печать · Очередь · Документы

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

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

Подготовить
  1. Вы указываетеДокумент
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Печать / Очередь / Документы». Для изменения нужны документ, printerId. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
documentId
Документ
printerId
Параметр
language
Язык
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Печать / Очередь / Документы» с параметром documentId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
documentId
DEMO-101
orderId
DEMO-101
printerId
DEMO-101
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Печать / Очередь / Документы» по исходному ответу. Покажи задание, printerId. Объясни, чем подтвердить эффект для выбранного объекта.
Как проследить одну попытку
  1. ЗапросСохранить исходный ключ
  2. ОтветПроверить статус
  3. ПроверкаСверить эффект операции
Как работает действие

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.

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

Prepare one native document and atomically queue one copy with a durable acceptance receipt. Requires current company-wide printing/document and linked task/order access. Same requestId is safe after response loss or queue consumption; changed arguments conflict. Use printing_get_operation_result and printing_resume_operation for recovery. Legacy pending jobs without atomic receipts are never blindly requeued. queued means queue acceptance, not physical printing.

Параметры запроса
documentId
Canonical company Documents template, order-document or task-document identifier. обязательно по схеме · string · до символов 128
orderId
Идентификатор выбранного заказа. необязательно · string · до символов 128
printerId
Canonical enabled printer ID returned by printing_list_printers. обязательно по схеме · string · до символов 128
language
Язык результата или локализуемого значения согласно схеме. обязательно по схеме · string · по умолчанию "en" · до символов 20
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string · до символов 128
Что вернёт команда
jobId
Canonical Companies/{company}/print job identifier. обязательно по схеме · string
printerId
Selected canonical printer identifier. обязательно по схеме · string
status
The native queue accepted this request; this does not confirm physical printing. обязательно по схеме · string
Поля и технические схемы
Входные поля и поля ответа printing_queue_document
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "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
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "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
}