Tool classes
This page requires Python familiarity. If you are a non-technical operator, work with your developer to configure these classes.
Use these classes in your functions to manage conversation state and voice configuration.
Core class
Conversation
The primary class for managing conversation state at runtime. Every function receives a Conversation instance as its first argument.
For full attributes and methods, see the conv object page.
Voice classes
Use voice classes to configure TTS providers programmatically – for example, in a start function or when using multi-voice.
VoiceWeighting
Assign specific weightings to voices for multi-voice setups, adjusting their prominence in a given context.
TTS provider classes
ElevenLabs
Cartesia
PlayHT
Rime
Minimax
Hume
Custom
For full voice configuration examples including ElevenLabs model IDs, Cartesia emotions, and cache behavior, see the Voice class reference.

