delightful-painting-21962
12/03/2025, 3:07 PMtall-airline-16756
12/03/2025, 3:07 PMtall-airline-16756
12/03/2025, 3:07 PMNone or an empty string.
◦ If the tool must return data, return a concise summary rather than raw/verbose data.
• Add clear tool-response instructions
◦ In the tool definition, state whether the agent should speak the result and, if so, how (e.g., “Summarize in one sentence” or “Do not read identifiers or raw JSON aloud”).
• Apply output-formatting rules in the agent prompt
◦ Instruct the LLM not to read technical details, IDs, or full raw outputs; require summaries or user-facing phrasing.
• Filter or modify speech before TTS
◦ Use pipeline nodes (for example an llm_node or tts_node) to sanitize or shorten content before it’s sent to speech synthesis.
If you want, I can:
• Review one example tool definition or a transcript where this happens and suggest exact wording changes,
• Or provide a short tool-definition template and prompt snippets you can drop into your agent to prevent this behavior.
Which would you prefer?
Sources: Tool definition and use | LiveKit docs | Prompting guide | LiveKit docs | Pipeline nodes and hooks | LiveKit docs