correct-apricot
correct-apricot7h ago

disable tools for outbound calling via assistantOverrides

For a number of our voice agents we have configured several transferCall tools in the model.tools array with different phone numbers. These work properly for inbound calls. However, we'd like to disable this functionality for outbound calls while keeping the inbound configuration intact. To accomplish this, we've tried setting assistant_overrides["model"]["tools"] = [{"type": "endCall"}] to limit the tools available for these calls. However, the transfer tools remain available and when prompted the assistant still transfers calls as if the tools are enabled. Is it possible to completely disabled configured tools for outbound calls via the assistantOverrides?
2 Replies
Vapi
Vapi7h ago
Based on the documentation, assistantOverrides can be used to override the tools array for a specific call, but it is not guaranteed to fully remove all pre-configured tools if they exist in the base assistant configuration. To attempt to disable transfer tools for outbound calls, set the override like this:
"assistantOverrides": {
"model": {
"tools": [{ "type": "endCall" }]
}
}
"assistantOverrides": {
"model": {
"tools": [{ "type": "endCall" }]
}
}
However, if transferCall tools are still available, this likely means that assistantOverrides cannot fully remove tools defined in the base assistant for outbound calls. There is no documented way to conditionally disable tools based on call direction—this may require restructuring your assistant setup or using separate assistants for inbound and outbound calls.
For more details, see the API reference and assistantOverrides usage. Sources: - API reference: Calls Create - Transient vs permanent configurations
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
Duckie
Duckie7h ago
Message marked as helpful by @Joe! 🎉

Did you find this page helpful?