Add a sound
add_soundAdd sounds to a sprite or the stage using built-in options like pop, beep, or boing, or upload your own .wav file.
Instructions
Adds a sound to a sprite or the stage. Built-in sounds: pop, beep, boing, zap, click, chime, whoosh. Files must be .wav.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_sound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to a .wav file | |
| name | No | Sound name when loading from a file | |
| sound | No | Built-in sound name | |
| target | No | Sprite name, or "Stage". Defaults to the stage |