nooo
09/19/2025, 8:40 AMLordvickthor
09/19/2025, 11:55 AMnooo
09/19/2025, 2:32 PMnooo
09/19/2025, 2:36 PMLordvickthor
09/19/2025, 2:56 PMnooo
09/22/2025, 8:07 AMnooo
09/22/2025, 8:08 AMnooo
09/22/2025, 8:10 AMconst requestBody: {
assistantId: string
assistantOverrides?: {
variableValues?: Record<string, string>
}
input: Array<{
role: 'user' | 'assistant' | 'system'
content: string
}>
stream: boolean
previousChatId?: string | null
} = {
assistantId: assistant.vapiId!,
input: input as any,
stream: false,
assistantOverrides: {
variableValues: variables,
},
}
if (!isNewConversation) {
requestBody.previousChatId = previousChatId
}
const chatResponse = await fetch('https://api.vapi.ai/chat', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${process.env.VAPI_API_KEY}`,
},
body: JSON.stringify(requestBody),
})nooo
09/22/2025, 8:11 AMnooo
09/22/2025, 8:13 AMVapi Support Bot
09/22/2025, 8:14 AMassistantOverrides in the /chat API—only variableValues are documented as supported. To remove default tools like end_call and transfer_call for chat, you should configure your assistant in the dashboard to only include chat-relevant tools, or create a separate assistant for chat use.
js
assistantOverrides: {
variableValues: { ... } // Only variable overrides are supported here
}
If you need per-session tool control, this feature does not appear to be available for chat at this time.
[See documentation reference](https://docs.vapi.ai/chat/web-widget#use-dynamic-assistant-configuration)
Source:
- [Web widget documentation](https://docs.vapi.ai/chat/web-widget#use-dynamic-assistant-configuration)nooo
09/22/2025, 8:18 AMVapi Support Bot
09/22/2025, 8:19 AMassistantOverrides.model.OpenAI.toolIds, the current documentation and examples only show support for variableValues in chat assistant overrides. There is no evidence that tool overrides (like removing default tools) are supported per chat session. For now, the recommended approach is to configure your assistant in the dashboard to only include chat-relevant tools, or create a separate assistant for chat use.
If you need per-session tool control for chat, this feature does not appear to be available at this time.
[See documentation reference](https://docs.vapi.ai/chat/web-widget#use-dynamic-assistant-configuration)
Source:
- [Web widget documentation](https://docs.vapi.ai/chat/web-widget#use-dynamic-assistant-configuration)Vapi Support Bot
09/22/2025, 8:21 AMVapi Support Bot
09/22/2025, 8:21 AMVapi Support Bot
09/22/2025, 8:21 AMChiranjeet Mishra
09/23/2025, 4:04 AM