generate_audio
Generate base64 MP3 audio from pre-split sentences for a specified language, returning per-mark UUIDs and timings. Use this for direct audio generation when bypassing normal chapter creation.
Instructions
Break-glass: call cwtts directly to generate audio for a single
lang/level. Returns base64 MP3 + per-mark UUIDs + millisecond timings.
Normal chapter creation should go through create_chapter_from_marks
which invokes cwtts internally.
Args: language: Source language code (EN | FR | ES | DE | IT | PT | ZH | JA | KO). marks: Pre-split sentence list in that language.
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": {
"language": "<language>",
"marks": "<marks>"
},
"name": "generate_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | ||
| marks | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |