Use the same sound in several events
share_soundMakes several events of the same game play the sound of one variation's event (e.g. the same 'Building' sound on all buildings), instead of generating one sound per event. Live link: changing the sound on the original changes it everywhere; the variation joins the original's list if it wasn't there yet. The sounds the target events had are removed from their lists, so ask the user first if they already have chosen sounds. Doesn't generate or spend credits. Pass event_ids, or same_name=true to reach every event in the game with the source event's name. For one sound shared by all entities of a folder, a folder event (create_event with folder_id) is simpler.
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": {
"generation_id": "<generation_id>"
},
"name": "share_sound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_ids | No | The events that will play the same sound (ids from get_entity or list_folders), in the same game. Up to 500. | |
| same_name | No | true also adds every event in the game with the source event's name (default false). | |
| generation_id | Yes | A variation of the source event (generation id, from get_entity). Its event becomes the original. |