conv.log to write logs visible in Conversation review → Diagnosis.
For detailed guides, explore the subpages below:
Guides
Create a function
Libraries
Start tool
End tool
Return values
Variables
Using tools in topics
Delay control
Reference
conv object
conv.log
conv.utils
conv.api
ASR biasing
History
Voice
Tool classes
Agent memory
Best practices
- Use descriptive names – Action-oriented names like
book_reservationorsend_notificationhelp the LLM understand when to call the function. - Write clear descriptions – Explain what the function does, its parameters, and when it should be triggered.
- Use meaningful parameter names –
reservation_dateis clearer thanr_date. - Control triggering – Define specific rules to prevent over-triggering or under-triggering.
- Test thoroughly – Use Test Cases and Test Sets to validate function behavior across scenarios.
Troubleshooting
- Function not triggering – Check Conversation review → Diagnosis to see if the function was considered. Refine your function description or add clearer rules.
- Wrong parameters – Review
conv.logentries to see what the LLM extracted. Adjust parameter descriptions or add validation. - Unexpected behavior – Simplify function logic and test in isolation before integrating with the agent.

