get_conversation_audio_route
Retrieve a conversation's audio as MP3 bytes by conversation ID. Provide output_path to save the file, or omit it to receive base64 data for small files.
Instructions
Get Conversation Audio Returns audio/mpeg bytes; pass output_path to save them.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"conversation_id": "<conversation_id>"
},
"name": "get_conversation_audio_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | Where to write the returned bytes. Relative paths resolve against ELEVENLABS_OUTPUT_DIR. Omit it to get the data inline as base64 (small files only). | |
| conversation_id | Yes | The id of the conversation you're taking the action on. |