MCP Control
Коммуникации · Изменение

Голос · Агенты · Возобновление · Операция

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

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

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

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

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

Continue an interrupted VoiceAgent create, draft edit, activation, deactivation or active configuration edit with its exact original arguments. Rechecks current protected membership, connection scopes and original revision. Uses existing atomic profile/binding receipts to reconcile the original pending registry claim; historical commits never overwrite later edits or reactivate a deactivated agent. Activation can repeat only read-only provider ownership verification before an uncommitted transaction. No telephone call, recording, voice cloning or permission grant is created.

Параметры запроса
original
Original company configuration operation. No calls, recordings or arbitrary provider operations can be resumed here. обязательно по схеме · object / object / object / object / object
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
result
Immutable original configuration result. Use the native voice read actions for current state. обязательно по схеме · object / object / object / object / object
Поля и технические схемы
Входные поля и поля ответа voice_agent_resume_operation
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "original": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "operation": {
              "type": "string",
              "const": "voice_agent_create_draft",
              "description": "Original voice configuration action to continue."
            },
            "arguments": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160,
                  "description": "Human-readable name for the new company voice-agent draft."
                },
                "prompt": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 8000,
                  "description": "Instructions for the agent. Stored as text only; no code, tools or provider request is executed by creation."
                },
                "language": {
                  "default": "en",
                  "description": "Native language code, such as en or ru, or auto for automatic language detection. Defaults to the existing runtime value en.",
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^(?:auto|[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})?)$"
                },
                "openingText": {
                  "default": "",
                  "description": "Optional initial spoken sentence. Empty leaves the native opening feature disabled.",
                  "type": "string",
                  "maxLength": 700
                },
                "goodbyeText": {
                  "default": "",
                  "description": "Optional closing sentence. Empty preserves the native empty goodbye default.",
                  "type": "string",
                  "maxLength": 700
                },
                "maxOutputTokens": {
                  "default": 220,
                  "description": "Existing native response token bound, 40 to 1200; default 220.",
                  "type": "integer",
                  "minimum": 40,
                  "maximum": 1200
                },
                "temperature": {
                  "default": 0.6,
                  "description": "Existing native model temperature bound, 0 to 1.2; default 0.6.",
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1.2
                },
                "speechSpeed": {
                  "default": 1,
                  "description": "Existing native speech-speed range, 0.7 to 1.2; default 1.",
                  "type": "number",
                  "minimum": 0.7,
                  "maximum": 1.2
                },
                "requestId": {
                  "$ref": "#/$defs/_mcp0"
                }
              },
              "required": [
                "name",
                "prompt",
                "language",
                "openingText",
                "goodbyeText",
                "maxOutputTokens",
                "temperature",
                "speechSpeed",
                "requestId"
              ],
              "additionalProperties": false,
              "description": "Exact original validated arguments, including original requestId and expectedRevision when required."
            }
          },
          "required": [
            "operation",
            "arguments"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "operation": {
              "type": "string",
              "const": "voice_agent_update_draft",
              "description": "Original voice configuration action to continue."
            },
            "arguments": {
              "type": "object",
              "properties": {
                "agentId": {
                  "type": "string",
                  "pattern": "^agent_[a-f0-9]{64}$",
                  "description": "Canonical MCP-created voice-agent draft ID from voice_agent_create_draft and voice_agent_get. Legacy/native agents have a separate setup contract."
                },
                "expectedRevision": {
                  "type": "string",
                  "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
                  "description": "Exact latest update-time revision returned by voice_agent_get. Any intervening native change conflicts."
                },
                "values": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "description": "Human-readable name for the new company voice-agent draft. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160
                    },
                    "prompt": {
                      "description": "Instructions for the agent. Stored as text only; no code, tools or provider request is executed by creation. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 8000
                    },
                    "language": {
                      "description": "Native language code, such as en or ru, or auto for automatic language detection. Defaults to the existing runtime value en. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
                      "type": "string",
                      "maxLength": 20,
                      "pattern": "^(?:auto|[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})?)$"
                    },
                    "openingText": {
                      "description": "Optional initial spoken sentence. Empty leaves the native opening feature disabled. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
                      "type": "string",
                      "maxLength": 700
                    },
                    "goodbyeText": {
                      "description": "Optional closing sentence. Empty preserves the native empty goodbye default. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
                      "type": "string",
                      "maxLength": 700
                    },
                    "maxOutputTokens": {
                      "description": "Existing native response token bound, 40 to 1200; default 220. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
                      "type": "integer",
                      "minimum": 40,
                      "maximum": 1200
                    },
                    "temperature": {
                      "description": "Existing native model temperature bound, 0 to 1.2; default 0.6. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1.2
                    },
                    "speechSpeed": {
                      "description": "Existing native speech-speed range, 0.7 to 1.2; default 1. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
                      "type": "number",
                      "minimum": 0.7,
                      "maximum": 1.2
                    }
                  },
                  "additionalProperties": false,
                  "description": "Only supplied supported conversation settings change. Omitted fields remain exactly stored; empty openingText also disables the opening sentence. No activation, voice/telephone binding, provider, recording, tools, Flow or billing controls."
                },
                "requestId": {
                  "$ref": "#/$defs/_mcp0"
                }
              },
              "required": [
                "agentId",
                "expectedRevision",
                "values",
                "requestId"
              ],
              "additionalProperties": false,
              "description": "Exact original validated arguments, including original requestId and expectedRevision when required."
            }
          },
          "required": [
            "operation",
            "arguments"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "operation": {
              "type": "string",
              "const": "voice_agent_activate_draft",
              "description": "Original voice configuration action to continue."
            },
            "arguments": {
              "type": "object",
              "properties": {
                "agentId": {
                  "$ref": "#/$defs/_mcp1"
                },
                "expectedRevision": {
                  "$ref": "#/$defs/_mcp2"
                },
                "voiceId": {
                  "type": "string",
                  "enum": [
                    "0ArNnoIAWKlT4WweaVMY",
                    "YjESejviApN7SHrbfnA2",
                    "sNQyZH8Wfcnv7zh3rHxR"
                  ],
                  "description": "Explicit native shared-library voice: 0ArNnoIAWKlT4WweaVMY (Elena Gromova); YjESejviApN7SHrbfnA2 (Nastya); sNQyZH8Wfcnv7zh3rHxR (Marusya Customer Care). Private and unlisted provider voices are not exposed."
                },
                "fromNumber": {
                  "description": "Optional E.164 source number. When omitted, resolve the current verified company telephone or its authorized agency default. Explicit values are never replaced and must pass ownership checks. No number purchase or call.",
                  "type": "string",
                  "pattern": "^\\+[1-9][0-9]{6,14}$"
                },
                "requestId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{8,128}$",
                  "description": "Stable ID for these exact activation arguments. Reuse unchanged after an uncertain response."
                }
              },
              "required": [
                "agentId",
                "expectedRevision",
                "voiceId",
                "requestId"
              ],
              "additionalProperties": false,
              "description": "Exact original validated arguments, including original requestId and expectedRevision when required."
            }
          },
          "required": [
            "operation",
            "arguments"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "operation": {
              "type": "string",
              "const": "voice_agent_deactivate_draft",
              "description": "Original voice configuration action to continue."
            },
            "arguments": {
              "type": "object",
              "properties": {
                "agentId": {
                  "$ref": "#/$defs/_mcp1"
                },
                "expectedRevision": {
                  "$ref": "#/$defs/_mcp2"
                },
                "requestId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{8,128}$",
                  "description": "Stable request ID for these exact reset arguments. Reuse unchanged after an uncertain response."
                }
              },
              "required": [
                "agentId",
                "expectedRevision",
                "requestId"
              ],
              "additionalProperties": false,
              "description": "Exact original validated arguments, including original requestId and expectedRevision when required."
            }
          },
          "required": [
            "operation",
            "arguments"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "operation": {
              "type": "string",
              "const": "voice_agent_update_configuration",
              "description": "Original voice configuration action to continue."
            },
            "arguments": {
              "type": "object",
              "properties": {
                "agentId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160,
                  "pattern": "^[A-Za-z0-9_~:@+.-]+$",
                  "description": "Existing company VoiceAgents document ID, created in the native cabinet or MCP. Activation and telephone binding are not required for conversation authoring."
                },
                "expectedRevision": {
                  "type": "string",
                  "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
                  "description": "Exact Firestore revision from voice_agent_get_configuration."
                },
                "values": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "description": "Human-readable name for the new company voice-agent draft. Omit to preserve the current setting.",
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160
                    },
                    "prompt": {
                      "description": "Instructions for the agent. Stored as text only; no code, tools or provider request is executed by creation. Omit to preserve the current setting.",
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 8000
                    },
                    "language": {
                      "description": "Native language code, or auto for automatic language detection. Omit to preserve the current setting.",
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 20,
                          "pattern": "^(?:auto|[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})?)$",
                          "description": "Native language code, such as en or ru, or auto for automatic language detection. Defaults to the existing runtime value en."
                        },
                        {
                          "type": "string",
                          "const": "auto"
                        }
                      ]
                    },
                    "openingText": {
                      "description": "Optional initial spoken sentence. Empty leaves the native opening feature disabled. Omit to preserve the current setting.",
                      "type": "string",
                      "maxLength": 700
                    },
                    "goodbyeText": {
                      "description": "Optional closing sentence. Empty preserves the native empty goodbye default. Omit to preserve the current setting.",
                      "type": "string",
                      "maxLength": 700
                    },
                    "maxOutputTokens": {
                      "description": "Existing native response token bound, 40 to 1200; default 220. Omit to preserve the current setting.",
                      "type": "integer",
                      "minimum": 40,
                      "maximum": 1200
                    },
                    "temperature": {
                      "description": "Existing native model temperature bound, 0 to 1.2; default 0.6. Omit to preserve the current setting.",
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1.2
                    },
                    "speechSpeed": {
                      "description": "Existing native speech-speed range, 0.7 to 1.2; default 1. Omit to preserve the current setting.",
                      "type": "number",
                      "minimum": 0.7,
                      "maximum": 1.2
                    }
                  },
                  "additionalProperties": false,
                  "description": "Supplied conversation fields only. Voice/phone bindings, activation, recording, tools, Flow, billing and provider fields cannot be changed here."
                },
                "requestId": {
                  "$ref": "#/$defs/_mcp0"
                }
              },
              "required": [
                "agentId",
                "expectedRevision",
                "values",
                "requestId"
              ],
              "additionalProperties": false,
              "description": "Exact original validated arguments, including original requestId and expectedRevision when required."
            }
          },
          "required": [
            "operation",
            "arguments"
          ],
          "additionalProperties": false
        }
      ],
      "description": "Original company configuration operation. No calls, recordings or arbitrary provider operations can be resumed here."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable ID for this recovery attempt. The nested original requestId remains the business deduplication key."
    }
  },
  "required": [
    "original",
    "requestId"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable identifier for this exact draft creation. Reuse unchanged arguments after a lost response."
    },
    "_mcp1": {
      "type": "string",
      "pattern": "^agent_[a-f0-9]{64}$",
      "description": "Canonical draft ID returned by voice_agent_create_draft. Native agents without a protected MCP creation receipt are outside this activation contract."
    },
    "_mcp2": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Exact current update-time revision from voice_agent_get. Any intervening draft change conflicts."
    }
  }
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "result": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "agentId": {
              "type": "string",
              "pattern": "^agent_[a-f0-9]{64}$",
              "description": "Canonical VoiceAgents document ID. Use voice_agent_get for its current stored configuration after creation."
            },
            "agentName": {
              "type": "string",
              "description": "Name of the draft when this creation committed."
            },
            "createdAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
              "description": "Timestamp of this committed creation; replay returns its original result."
            },
            "createdState": {
              "type": "string",
              "const": "disabled_unbound_draft",
              "description": "Creation wrote enabled=false with empty voice and telephone bindings. This is a historical result, not a current runtime status."
            },
            "nextStep": {
              "type": "string",
              "const": "configure_authorized_voice_and_phone_in_sabsus",
              "description": "An authorized native setup must verify provider voice and telephone ownership before activation. MCP creation does not activate the agent or place a call."
            }
          },
          "required": [
            "agentId",
            "agentName",
            "createdAt",
            "createdState",
            "nextStep"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "agentId": {
              "type": "string",
              "pattern": "^agent_[a-f0-9]{64}$",
              "description": "Canonical MCP-created voice-agent draft ID from voice_agent_create_draft and voice_agent_get. Legacy/native agents have a separate setup contract."
            },
            "operation": {
              "type": "string",
              "const": "draft_updated",
              "description": "An inert stored draft edit only; no provider request or call occurred."
            },
            "changed": {
              "type": "boolean",
              "description": "Whether any selected native conversation field changed."
            },
            "appliedFromRevision": {
              "type": "string",
              "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
              "description": "Revision checked for this historical committed update. Read voice_agent_get for the current revision."
            }
          },
          "required": [
            "agentId",
            "operation",
            "changed",
            "appliedFromRevision"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "agentId": {
              "$ref": "#/$defs/_mcp0"
            },
            "operation": {
              "type": "string",
              "const": "activated",
              "description": "Protected provider bindings and enabled=true committed. No phone call or audio generation was performed."
            },
            "voiceId": {
              "type": "string",
              "description": "Verified approved platform-library voice identifier."
            },
            "fromNumber": {
              "type": "string",
              "description": "Verified source number owned by the configured company Twilio account."
            },
            "voicePolicyVersion": {
              "type": "string",
              "description": "Approved voice-library policy used by both activation and runtime."
            },
            "appliedFromRevision": {
              "$ref": "#/$defs/_mcp1"
            },
            "activatedAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
              "description": "Server timestamp of this immutable activation result."
            }
          },
          "required": [
            "agentId",
            "operation",
            "voiceId",
            "fromNumber",
            "voicePolicyVersion",
            "appliedFromRevision",
            "activatedAt"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "agentId": {
              "$ref": "#/$defs/_mcp0"
            },
            "operation": {
              "type": "string",
              "const": "deactivated",
              "description": "Native profile returned to its supported disabled, unbound draft form. The protected binding is a disabled tombstone; previous operation receipts remain intact."
            },
            "appliedFromRevision": {
              "$ref": "#/$defs/_mcp1"
            },
            "deactivatedAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
              "description": "Server timestamp of the immutable reset result."
            }
          },
          "required": [
            "agentId",
            "operation",
            "appliedFromRevision",
            "deactivatedAt"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "agentId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160,
              "pattern": "^[A-Za-z0-9_~:@+.-]+$",
              "description": "Existing company VoiceAgents document ID, created in the native cabinet or MCP. Activation and telephone binding are not required for conversation authoring."
            },
            "operation": {
              "type": "string",
              "const": "configuration_updated",
              "description": "Native conversation configuration and its receipt committed atomically."
            },
            "changed": {
              "type": "boolean",
              "description": "False for an exact no-op; a recovery receipt is still recorded."
            },
            "appliedFromRevision": {
              "type": "string",
              "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
              "description": "Exact Firestore revision from voice_agent_get_configuration."
            }
          },
          "required": [
            "agentId",
            "operation",
            "changed",
            "appliedFromRevision"
          ],
          "additionalProperties": false
        }
      ],
      "description": "Immutable original configuration result. Use the native voice read actions for current state."
    }
  },
  "required": [
    "result"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "type": "string",
      "pattern": "^agent_[a-f0-9]{64}$",
      "description": "Canonical draft ID returned by voice_agent_create_draft. Native agents without a protected MCP creation receipt are outside this activation contract."
    },
    "_mcp1": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Exact current update-time revision from voice_agent_get. Any intervening draft change conflicts."
    }
  }
}