Prakhar Agrawal
12/08/2025, 6:36 PMPrakhar Agrawal
12/08/2025, 6:37 PMVapi Support Bot
12/08/2025, 6:37 PMjson
{
"type": "handoff",
"function": {
"name": "handoff_to_kannada_assistant",
"description": "Only transfer to Kannada assistant if the user clearly says they want to switch to Kannada. Do NOT use for normal conversation or when answering questions."
}
}
Make sure your system prompt also instructs the assistant to use this tool only for explicit language switch requests, not for any other reason.
For more details, see the [Handoff Tool documentation](https://docs.vapi.ai/tools/handoff).
Source:
- [Handoff Tool documentation](https://docs.vapi.ai/tools/handoff)Prakhar Agrawal
12/08/2025, 6:38 PMkyle
12/09/2025, 1:59 AMPrakhar Agrawal
12/09/2025, 5:51 AMPrakhar Agrawal
12/09/2025, 6:03 AMPrakhar Agrawal
12/09/2025, 6:41 AMVapi Support Bot
12/09/2025, 6:43 AMuser_requested_language_switch, and only trigger the handoff when this variable is set to true. For example:
json
{
"type": "handoff",
"function": {
"name": "handoff_to_kannada_assistant",
"description": "Transfer only if user clearly says they want to switch to Kannada. Require 'user_requested_language_switch' to be true.",
"parameters": {
"user_requested_language_switch": {
"type": "boolean",
"description": "Set to true only if the user explicitly requests a language switch."
}
}
}
}
This ensures the handoff tool is only called when the assistant detects an explicit user request, reducing accidental triggers. See the [handoff tool documentation](https://docs.vapi.ai/tools/handoff) for more on custom function parameters.
Source:
- [Handoff Tool documentation](https://docs.vapi.ai/tools/handoff)Vapi Support Bot
12/09/2025, 2:08 PMChiranjeet Mishra
12/11/2025, 4:35 AMChiranjeet Mishra
12/11/2025, 4:35 AM"ONLY use this tool when the user EXPLICITLY requests to switch to Kannada language. Examples: 'Switch to Kannada', 'Speak in Kannada', 'ಕನ್ನಡದಲ್ಲಿ ಮಾತನಾಡಿ'. DO NOT use this tool for normal conversation, answering questions, or when the user simply responds to your questions. DO NOT use when user says numbers, ages, dates, or provides any information in response to your questions. ONLY use when they explicitly ask to change language to Kannada."Prakhar Agrawal
12/11/2025, 4:53 AMPrakhar Agrawal
12/11/2025, 4:54 AMChiranjeet Mishra
12/13/2025, 2:05 AMAmir UIDB
01/06/2026, 3:16 PMPrakhar Agrawal
01/13/2026, 5:22 AMChiranjeet Mishra
01/13/2026, 6:51 AM