how to increase the tool timeout while using the realtime models (ultravox )
I am not clear on what you are asking. What issue are you trying ot fix?
i am using ultravox inside the livekit but ultravox has 3 second tool timeout if tool takes more time then agent won’t wait for the tool result instead it says it is having technical issue, so i want to increase the tool timeout to higher number maybe 30 s, how to do this
This maybe a question for Utlravox. Have you checked with them?
The 3‑second tool timeout is coming from Ultravox’s Realtime API, not from LiveKit. The LiveKit Ultravox plugin simply connects to Ultravox’s WebSocket API and does not expose a configurable tool timeout parameter, as shown in the Ultravox plugin guide.
Because Ultravox handles tool execution timing internally, you can’t increase that timeout from the LiveKit side. To support longer-running tools, you’ll need to either:
-
Make the tool return quickly and handle long work asynchronously, or
-
Switch to a non-realtime LLM + separate STT/TTS pipeline where tool timing is fully controlled by your agent logic.
The plugin source code can be found here if you want to dig into it more: