Nemnel
09/26/2025, 8:46 PMVapi Support Bot
09/26/2025, 8:47 PMtools array—in your callback response. Here’s a concise example:
js
res.json({
assistant: {
name: "Dynamic Assistant",
model: {
provider: "openai",
model: "gpt-4o",
tools: [
{
type: "function",
function: {
name: "processOrder",
description: "Process an order dynamically",
parameters: { /* your schema here */ }
},
server: { url: "https://your-server.com/tools/processOrder" }
}
// Add more tools as needed based on your backend logic
]
}
}
});
Just build the tools array based on your backend data before responding to the assistant-request webhook—no need for static tool definitions.
Reference: See the "Return a Complete Assistant Configuration" section in the [Vapi documentation](https://docs.vapi.ai/assistants/personalization).
Sources:
- [Personalization with user information](https://docs.vapi.ai/assistants/personalization)
- [Custom LLM Tool Calling Integration](https://docs.vapi.ai/customization/tool-calling-integration)Vercel
09/27/2025, 1:33 AMNemnel
09/29/2025, 2:05 PMNemnel
09/29/2025, 2:06 PMVercel
09/29/2025, 6:40 PMNemnel
10/13/2025, 7:36 PM