sms tool not using the messages
# support
m
Hello! I'm really having a hard time with the texting tool. It seems like the AI never uses the request-failed, request-complete messages I have set. It just sends the text and then waits for the user to say something. Here's a callid: fa3ae31e-557c-4e3e-b16c-0fea03ac6a5c f67dc277-ca5a-4d30-88e6-d7c38523dfa1 Here's my tool: { "id": "b2087f85-cd27-4abb-911c-e9106b6dd84b", "createdAt": "2025-07-10T17:19:52.522Z", "updatedAt": "2025-07-15T20:29:26.363Z", "type": "sms", "function": { "name": "sms" }, "messages": [{ "type": "request-start", "content": "Let me send you the text right now." }, { "type": "request-complete", "content": "Alright! I've just sent you a text now, do you need anything else?" }, { "type": "request-failed", "content": "I'm sorry I seem to not be able to text right now, can you write down the information instead?" }], "orgId": "87f63d30-7e9e-4ef4-bd61-9acc7ce59a3b" } Even in my prompt I have to confirm once the send is successful but still doesn't work. @User
c
Hey Mistermanu#000, I wanted to let you know that we're managing a high volume of support requests at the moment, so our response time might be a bit slower than usual. I truly appreciate your understanding and will get back to you as soon as possible!  Thanks again for your patience!
You have two tools connected to your assistant: one with request messages and one without. disconnect the one with empty messages and configure the assistant prompt to use the other tool instead.
Copy code
{
            "type": "sms",
            "async": false,
            "function": {
              "name": "sms",
              "description": "Use this tool to send a text message (SMS) to a specified phone number. Provide the recipient's phone number and the message content.",
              "parameters": {
                "type": "object",
                "properties": {
                  "to": {
                    "type": "string",
                    "description": "The phone number to send the SMS message to, in E.164 format (e.g., +15551234567)."
                  },
                  "body": {
                    "type": "string",
                    "description": "The text content of the SMS message to send."
                  }
                },
                "required": [
                  "to",
                  "body"
                ]
              }
            },
            "messages": [], // BLANK MESSAGES
            "metadata": {
              "from": "+14243810731"
            }
          }