yanyan
11/27/2025, 5:32 AMVapi Support Bot
11/27/2025, 5:33 AMtools array out of model and place it directly under assistant. The correct structure is:
json
{
"assistant": {
"name": "assistant",
"firstMessage": "Hello...",
"model": {
"provider": "openai",
"model": "gpt-4o",
"temperature": 0.5,
"messages": [
{
"role": "system",
"content": "You are an assistant. If the caller asks to speak to a human, use the transferCall function to transfer them."
}
]
},
"tools": [
{
"type": "transferCall",
"destinations": [
{
"type": "number",
"number": "+1xxxxxxxxxx"
}
]
}
],
"voice": { /* ... */ },
"transcriber": { /* ... */ }
// ... rest of your config
}
}
This should resolve the "Couldn't get assistant" error when adding the transferCall tool ([see documentation](https://docs.vapi.ai/tools/default-tools)).
Source:
- [Default Tools](https://docs.vapi.ai/tools/default-tools)yanyan
11/27/2025, 5:35 AMyanyan
11/27/2025, 5:45 AMChiranjeet Mishra
12/01/2025, 9:44 AM