game_audio_spatial
Configure AudioStreamPlayer3D spatial audio properties, including attenuation model, max distance, unit size, and max volume, to control 3D sound behavior in Godot scenes.
Instructions
Configure AudioStreamPlayer3D spatial properties
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": {
"nodePath": "<nodePath>",
"action": "<action>"
},
"name": "game_audio_spatial"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDb | No | Maximum volume in dB | |
| action | Yes | Action: configure, get_info | |
| nodePath | Yes | Path to AudioStreamPlayer3D | |
| unitSize | No | Unit size for distance attenuation | |
| maxDistance | No | Maximum audible distance | |
| attenuationModel | No | Model: inverse, inverse_square, logarithmic |