Is there a way to remove the request start message...
# support
s
Just wanted to ask if there's way to remove that? We couldn't put it on async because it won't wait for our tool's response before answering a user question. Thanks!
v
Could you please clarify what specific feature or functionality you're trying to remove? Are you referring to a particular aspect of the Vapi platform or a different tool? This will help me provide a more accurate response. 😊
Could you please clarify what you mean by "remove that"? Are you referring to a specific feature or component in your application? Additionally, could you provide more details about the tool you're using and how it's interacting with async operations? This will help me assist you better. 😊
s
@Vapi Support Bot I was referring to the request start message feature whenever a tool is used. We couldn't put our tool on async because it won't wait for our tool's response before answering a user question. But our tool gets frequently called so having a request start message would be kind of bothering the user when spammed.
k
To remove request start messages, you'll need to update the tool's configuration by setting an empty messages array.
Copy code
curl -X PATCH 'https://api.vapi.ai/tools/{toolId}' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
  "messages": [{type: 'request-start', content: ''}]
}'
When no start message is provided, the system will skip speaking any message before executing the tool, while still maintaining the synchronous behavior of waiting for the tool response.
2 Views