Audio download link
save_soundOnly when the user asked for the file or chose to bring the sounds only through the conversation; never to put files into their project before that. Link to download an audio file FROM YOUR ACCOUNT (audio URL from find_sounds/get_entity): show it to the user, who opens it in the browser (it works without logging in, for 24 hours). Community sounds (the Sounds page of the site) belong to other accounts and do NOT come out through here: tell the user to open /sounds on the site and download there (free, with an account) or generate their own. An event with more than one sound (e.g. 3 sword hits) must be played by picking one of its files at random each time, never only the first: write the playback code that way and tell the user. Download tools: export_game gives the whole game as one .zip; get_manifest lists every chosen file with its project path (to save them one by one, or for a plugin); save_sound gives one single file.
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": {
"audio_url": "<audio_url>"
},
"name": "save_sound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio_url | Yes | An audioUrl from find_sounds or get_entity (a file of this account). | |
| file_name | No | Name of the downloaded file, e.g. Attack - Golem |