send text tool not working 100%
# support
a
I am testing vapi from the dashboard to see how useful would it be i configured a send text tool and configured a message to be said after the request is completed and then checked end the call option it is calling the tool and sending the text but it isnt speaking out the message and ending the call on its own any clue what i could be missing
v
It sounds like the assistant isn't speaking the post-tool message or ending the call because the actions may not be properly sequenced in a hook. Try adding a
tool.completed
hook to your assistant configuration like this:
Copy code
json
{
  "hooks": [{
    "on": "tool.completed",
    "do": [
      { "type": "say", "exact": "Your message here." },
      { "type": "tool", "tool": { "type": "endCall" } }
    ]
  }]
}
Make sure the
endCall
tool is enabled in your assistant's tools array. This should ensure the assistant speaks the message and then ends the call automatically after sending the text. Source: - [Assistant hooks documentation](https://docs.vapi.ai/assistants/assistant-hooks)
a
Copy code
{
  "id": "8fb7c25c-b9df-48d3-9be0-761e6aafb6dd",
  "createdAt": "2025-10-07T18:52:17.249Z",
  "updatedAt": "2025-10-07T19:55:48.748Z",
  "type": "sms",
  "function": {
    "name": "send_text_tool",
    "description": "description",
    "parameters": {
      "type": "object",
      "properties": {},
      "required": []
    }
  },
  "messages": [
    {
      "type": "request-start",
      "content": "Please hold on. Sending the SMS right away.",
      "blocking": true
    },
    {
      "role": "assistant",
      "type": "request-complete",
      "content": "The onboarding link is successfully sent to your mobile number. Happy to see you on the other side.",
      "endCallAfterSpokenEnabled": true
    }
  ],
  "metadata": {
    "from": "+....."
  },
  "orgId": "c414c7ca-9ba8-4be9-9a92-cb0b3fe71a29"
}
can you figure out the issue in this tool config
@Vapi
it did not even speak the request-start message
can somebody from @User help me out this is slightly urgent
@Vapi Support Bot
@User is this channel made for support or for ghosting? I see absolutely no acknowledgement or support from the team
@Shubham Bajaj
@arthur @kyle @Steven this tool is not working fine i think this tool is not being completed properly because it does not speak the request-complete message at all and that is the next tool which is to end call never really hits my call is end due to silence always request-start message is still sometimes spoken
can you guys look into this
c
Hi, could you please provide a call id where you experienced this issue? We would like to review the logs to identify the cause.
2 Views