For the transfer call with multiple forwarding num...
# general-english
j
For the transfer call with multiple forwarding numbers, there are 2 messages which sometimes cause the AI to repeat itself unnecessarily. Sometimes it reads the top line, sometimes the bottom line and sometimes both. Is there a reason for both messages in the documentation?
Copy code
{
  "tools": [
    {
      "type": "transferCall",
      "destinations": [
        {
          "type": "number",
          "number": "+1234567890",
          "message": "I am forwarding your call to Department A. Please stay on the line."
        },
        {
          "type": "number",
          "number": "+0987654321",
          "message": "I am forwarding your call to Department B. Please stay on the line."
        }
      ],
...
              "description": "The destination to transfer the call to."
            }
          },
          "required": [
            "destination"
          ]
        }
      },
      "messages": [
        {
          "type": "request-start",
          "content": "I am forwarding your call to Department A. Please stay on the line.",
          "conditions": [
            {
              "param": "destination",
              "operator": "eq",
              "value": "+1234567890"
            }
          ]
        },
        {
          "type": "request-start",
          "content": "I am forwarding your call to Department B. Please stay on the line.",
          "conditions": [
            {
              "param": "destination",
              "operator": "eq",
              "value": "+0987654321"
            }
4 Views