Skip_turn Tool
Hi VAPI Team,
will there a skip_turn tool in VAPI similar to the one in ElevenLabs?
Best regards,
Felix
will there a skip_turn tool in VAPI similar to the one in ElevenLabs?
Best regards,
Felix
transferCall, endCall, and dtmf), and you can request new features via their feature request board or support channels.⤵️ Mention @Vapi Support Bot for follow-ups 🐥
transferCallendCalldtmf{
"type": "function",
"function": {
"name": "wait_for_keypad_input",
"description": "Wait for keypad input for a specified duration",
"parameters": {
"type": "object",
"properties": {
"wait_seconds": {
"type": "number",
"description": "Number of seconds to wait"
},
"expected_key": {
"type": "string",
"description": "Expected keypad input"
}
},
"required": ["wait_seconds", "expected_key"]
}
}
}// In your webhook handler
app.post('/webhook', (req, res) => {
const { message } = req.body;
if (message.type === 'function-call' && message.functionCall.name === 'wait_for_keypad_input') {
// Implement waiting logic on server side
setTimeout(() => {
// Send response back to VAPI after wait period
res.json({
result: "Wait period completed, proceeding with call"
});
}, message.functionCall.parameters.wait_seconds * 1000);
}
});from vapi import Vapi
client = Vapi(
token="YOUR_TOKEN",
)
client.tools.delete(
id="tool_id",
)