play_background_file
play_background_file
Play an audio or video file in the background while the conversation continues.
Parameters
filename
URL of the audio or video file to play (e.g., "https://example.com/hold-music.mp3").
wait
When True, suppresses the agent’s attention-getting behavior during playback.
The agent will not try to re-engage the user while the file is playing.
Returns
FunctionResult — self, for chaining.