broadcast_spatial_audio
Play music or ambience from a URL at a 3D position, using spatial audio for immersive scene sound.
Instructions
Broadcast spatial audio (Music/Ambience) to the scene.
Pass a URL to an audio file (mp3, wav) to play it at the given 3D coordinate. The audio is spatialised via WebAudio PannerNode in the Spark viewer.
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": {
"prompt_or_url": "<prompt_or_url>"
},
"name": "broadcast_spatial_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| z | No | ||
| is_loop | No | ||
| prompt_or_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |