bright-plumber-93445
08/12/2025, 10:44 AMtall-airline-16756
08/12/2025, 10:44 AMtall-airline-16756
08/12/2025, 10:45 AMNone
. This way, the agent won’t generate any response.
• Use StopResponse Exception: You can raise a StopResponse
exception inside the tool function to gently stop any response from being made.
• Control Speech Generation: Use the RunContext
within the tool to manage how speech behaves—like turning off interruptions or keeping responses quiet.
These tricks help your tools work quietly without announcing their arguments or actions. If you want, I’m happy to share more details or examples—just let me know! Sources: livekit-agents/livekit/agents/voice/events.py | Tool definition and use | LiveKit Docs