game_audio_spatial
Configure 3D spatial audio properties on AudioStreamPlayer3D nodes, including attenuation model, unit size, max distance, and max volume, or retrieve current settings from 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 |