Add Station Image
add-station-imageAdd an image (JPEG, PNG, WebP or AVIF, at most 20 MB) to a station. The first image is the main image, the second the thumbnail in the station list (cut from the main image if missing), further ones are shown in the slideshow of stations with several audios.
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>"
},
"name": "add-station-image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL to download the image from, instead of an upload_id. | |
| station | Yes | Number of the station. | |
| position | No | Index to insert the image at, 0 makes it the main image. Appended by default. | |
| upload_id | No | ID of the image, uploaded with an upload link (see create-upload-link and list-uploads). | |
| audioguide | Yes | Slug of the audioguide, see list-audioguides. |