Put a library item or upload on a link
set_mediaPuts something already in LFG on a link the person made, by its id: a library sound, a drawn or live look or a theme picture, or one of the person's own uploads. For something already in LFG with an id; a new file goes on by link, as a file, or through the one-time page, and a KLIPY GIF by its address. use says where it goes: the wallpaper, the song, or the voiceover (the person's own sounds only). It replaces what that slot had. An id that matches nothing returns an error.
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": {
"id": "<id>",
"use": "<use>",
"media_id": "<media_id>"
},
"name": "set_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The link's id. | |
| use | Yes | wallpaper, song, or voiceover. | |
| media_id | Yes | A library sound's id; for a song, shuffle:lfg_picks or shuffle:music/anime (any shelf) to ring a different library song from it each time, on a clock alarm; a SoundCloud song's id (soundcloud:track:N, from find_soundcloud_song) or its link, a drawn or live look's id, a theme picture's address, or an upload's id. |