stream_chapter_snapshot_audio
Fetches audio for a chapter snapshot in ElevenLabs Studio, spending credits; returns MPEG bytes or saves to output_path.
Instructions
Stream Chapter Audio Spends ElevenLabs credits. 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": {
"project_id": "<project_id>",
"chapter_id": "<chapter_id>",
"chapter_snapshot_id": "<chapter_snapshot_id>"
},
"name": "stream_chapter_snapshot_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chapter_id | Yes | The ID of the chapter. | |
| project_id | Yes | The ID of the Studio project. | |
| 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). | |
| convert_to_mpeg | No | Whether to convert the audio to mpeg format. | |
| chapter_snapshot_id | Yes | The ID of the chapter snapshot. |