Add Station Audio
add-station-audioAdd an audio file (MP3, M4A, AAC, OGG or WAV, at most 200 MB) in one language to a station. Its playing time is detected. A station can have several audios per language, e.g. chapters.
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": {
"audioguide": "<audioguide>",
"station": "<station>",
"language": "<language>"
},
"name": "add-station-audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL to download the audio file from, instead of an upload_id. | |
| title | No | Title of the audio, for stations with several audios. | |
| station | Yes | Number of the station. | |
| language | Yes | Language code of the audio, one of the audioguide's languages. | |
| upload_id | No | ID of the audio file, uploaded with an upload link (see create-upload-link and list-uploads). | |
| audioguide | Yes | Slug of the audioguide, see list-audioguides. |