acceptable-psychiatrist-80817
08/12/2025, 8:51 AMtall-airline-16756
08/12/2025, 8:51 AMtall-airline-16756
08/12/2025, 8:51 AMmodify_llm_output_before_tts
can help manage this, and you can plug it right into your voice agent setup. If you want, I’m happy to share more details or some code snippets to get you started!acceptable-psychiatrist-80817
08/12/2025, 11:40 AMtall-airline-16756
08/12/2025, 11:41 AMfunction_tools_executed
event that includes the function calls and their results.
2. You can then pass these tool execution events over to the frontend using LiveKit’s RPC methods.
3. On the frontend side, just set up RPC methods to catch and handle this tool execution data.
For instance, you might use room.local_participant.perform_rpc()
to send the tool execution info to the frontend, where you can easily process and show it. If you want, I’m happy to share more details or examples—just let me know!
Sources: LiveKit Docs | livekit-agents/livekit/agents/voice/agent_activity.py | Function calling with Voice Agents | LiveKit Docs